Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Darkscribes Community

  1. Home
  2. Technical Support
  3. Email confirmation for all users

Email confirmation for all users

Scheduled Pinned Locked Moved Technical Support
6 Posts 2 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E This user is from outside of this forum
    E This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    As i understand it is required for a user to have a confirmed email therefore nodebb-plugin-session-sharing matches the email from the cookie and the one in the database? Nevertheless, as I understand just setting all users "emailConfirmed": 1 is not enough for it to work. So I want to know, what do I need to do to confirm all my users email?

    thanks in advance

    E 2 Replies Last reply
    0
    • E [email protected]

      As i understand it is required for a user to have a confirmed email therefore nodebb-plugin-session-sharing matches the email from the cookie and the one in the database? Nevertheless, as I understand just setting all users "emailConfirmed": 1 is not enough for it to work. So I want to know, what do I need to do to confirm all my users email?

      thanks in advance

      E This user is from outside of this forum
      E This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      julian I will be very thankful for your help in this question
      I can see email field in my cookie with the exact email as in the manage/users and also there is a green mark nearby email.

      1 Reply Last reply
      0
      • E [email protected]

        As i understand it is required for a user to have a confirmed email therefore nodebb-plugin-session-sharing matches the email from the cookie and the one in the database? Nevertheless, as I understand just setting all users "emailConfirmed": 1 is not enough for it to work. So I want to know, what do I need to do to confirm all my users email?

        thanks in advance

        E This user is from outside of this forum
        E This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        Also, how matching exactly works? For example, if I pass(to a cookie) as a value to the key field an id of the user in the nodebb, will it match it? Or do i need to pass to the cookie the exact email as well? Thanks

        julian@community.nodebb.orgJ 1 Reply Last reply
        0
        • E [email protected]

          Also, how matching exactly works? For example, if I pass(to a cookie) as a value to the key field an id of the user in the nodebb, will it match it? Or do i need to pass to the cookie the exact email as well? Thanks

          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          eugene_thedev you'll want to use the email validation methods in src/user/email.js to check whether a user's email is validated.

          You can also do this programmatically by calling setUserField to set the email, and then user.email.confirmByUid

          1 Reply Last reply
          0
          • E This user is from outside of this forum
            E This user is from outside of this forum
            [email protected]
            wrote last edited by
            #5

            julian, thanks for you answer, also could answer my last question?

            Also, how matching exactly works? For example, if I pass(to a cookie) as a value to the key field an id of the user in the nodebb, will it match it? Or do i need to pass to the cookie the exact email as well? Thanks

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • E [email protected]

              julian, thanks for you answer, also could answer my last question?

              Also, how matching exactly works? For example, if I pass(to a cookie) as a value to the key field an id of the user in the nodebb, will it match it? Or do i need to pass to the cookie the exact email as well? Thanks

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              eugene_thedev session sharing plugin will look for id first, and check it against the stored hash for it.

              Otherwise it will fall back to email.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups