• Resolved lsommerdal

    (@lsommerdal)


    Hi

    I have a problem with a few users who were unable to set their passwords.
    I went thru an admin account and assigned a password for some of them.
    I noticed that they still remain on the list with pending passwords.

    To me it looks like it is related to the password_set value set to 2
    It looks like the users cannot even request a new password with a value of 2
    Changing the value to 1 seems to solve the problem.

    Can you tell me the purpose and meaning of this variable.

    It seems that I have some users who are missing the password_set meta key – I assume that these users could be created before the plugin was activated.
    Is that a correct assumption?

    Thanks in advance for your answer

    • This topic was modified 7 years, 10 months ago by lsommerdal. Reason: Additional finding
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bnovotny

    (@bnovotny)

    The password set meta key is used when you have either the new user approve in place or the email verification or both and do not have the user enter their own password. It should send a reset password link after the user is approved and/or the user email is verified. There should be a table in the users table for Pending Password if the password field is not used on the registration form. On that table if there are users in it you can resend a password reset link for the users to activate their password or activate their account, just hover over the username and a menu listing available actions should appear to resend password reset email or activate the user which clears all user pre account approval settings and sets the account to active just in case of any errors in the registration process like this. I forgot how the activate user handles the password setting but it should complete the registration process and make their account active. For the password_set value, it the value = 2, then the user has not set a password and cannot login because there is no password to check against, that is why I have this set in place. If users did not reset their password you can try to send them another link from the password pending page. I disabled the lost password function for people that have not completed the registration process because some people were using the lost password to login before their accounts were completely approved & verified. And yes, the password_set key is my plugin. The email is clear once an account has been approved and email verified that the user gets a account completion email stating that they have to set their password and gives them a link with a key to do so. I have tested it many times and it is working the last time I checked so maybe the users were ignoring the last email. All I can say is maybe try it yourself and see if it is sending the password set emails just to make sure. Hope that makes some sense to you. Cheers

    • This reply was modified 7 years, 10 months ago by bnovotny.
    • This reply was modified 7 years, 10 months ago by bnovotny.
    Thread Starter lsommerdal

    (@lsommerdal)

    Thanks!

    Looking thru all my plugins I found the reason for my confusion.
    I had another plugin – New User Approve – activated.
    This caused that administrator approval was more complicated than needed and that I wasn’t in control on which mails was sent to the users.

    Now I have deactivated the New User Approve plugin – and have requested that URA manages new user approval (no e-mail verification as this seems to be unnecessary as all communication goes thru the users email)

    I noticed that password_set key is deleted after correct password is entered.

    I have a few other problems – but I’ll describe them in another case.
    The questions for this case has been answered fully

    Plugin Author bnovotny

    (@bnovotny)

    Okay, thanks

    • This reply was modified 7 years, 10 months ago by bnovotny.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘password_set meta_key’ is closed to new replies.