WordPress.org

Ready to get started?Download WordPress

Forums

Expired password reset key issue (8 posts)

  1. hillslope
    Member
    Posted 8 months ago #

    Running 3.7.1 and when my users try to reset their password they are getting the expired link to reset the password. All updates are current, but this issue has only been reported since the recent update went through. I have notification emails about password resets the day before the update (28th), but none since.
    I have tested this, and the same reset key is being supplied for all password reset attempts - different users, browsers - same result. So it appears the system is not creating new keys for resets- just sending the same old expired one.
    Have deactivated all plugins that might work on password/user to test and it has made no difference.
    Any other options? Have a site with a lot of users sending this issue.

  2. Manish Bhatia
    Member
    Posted 8 months ago #

    Hi,

    I had the same issue on my site. On debugging, I found out that WordPress has changed how the key is generated and stored.

    You must be using a plugin which hooks into retrieve_password action and does the key generation such as a custom reset password email plugin, or login page theme.

  3. Millen
    Member
    Posted 8 months ago #

    Hi hillslope and manishbhatias!

    Have you had any luck solving this problem yet?

    I have exactly the same problem after I updated to 3.7.1 the password reset link received in the email is expired as soon as it is created.

  4. hillslope
    Member
    Posted 7 months ago #

    Has taken me a while to find the cause, but for me it appears that the Redrokk login widget was the one for me. Others have found other plugins, and the only way is to disable plugins that do as manishbhatias has identified, then test the reset.

    I wish I had seen your post first manishbhatias, would have made it a bit quicker to trace.

    Search for previous support posts on this issue - might find other plugins causing the issue.

  5. Millen
    Member
    Posted 6 months ago #

    "You must be using a plugin which hooks into retrieve_password action and does the key generation such as a custom reset password email plugin, or login page theme."

    There has to be an error with my login/forgotten page than.

    What should I hook into now, after the change in WordPress 3.7.1+ ?

  6. hillslope
    Member
    Posted 6 months ago #

    The default WordPress login page does not seem to cause this issue. It is only from a plugin that provides a different login theme. Maybe try installing 3.8 and see what happens if the plugin disabling does not change it.

  7. Manish Bhatia
    Member
    Posted 6 months ago #

    The hook has not changed. WordPress has changed the way the key is generated and saved to database in retrieve_password function.

    I believe you are using a custom theme.

    Basically
    1) search for a function which hooks on retrieve_password in your theme files

    2) change it to use the new phppass class to hash the key before saving it in database.

    If you can provide the code for the hook, I can help in step2 above regarding changes that need to be made?

    Thanks

  8. donlesterthompson
    Member
    Posted 5 months ago #

    Member password_reset?
    Of course every member wants to set their own password created with multiple obscure sequences of letters(upper and lower case) numbers(plus symbols) rather than using only the one assigned by the current process.
    When will that be workable?
    Thanks
    donlesterthompson
    donlesterthompson@gmail.com

Reply

You must log in to post.

About this Topic