Resetting password yields wrong reset key
-
With the latest version of TML resetting the password is problematic.
When a user asks for a reset link they get it and then get sent to the reset page. From there they ‘submit’ the new password and then they get sent back to the form to request a new password be sent to XX email. At this point there is no key set in the URL so the user gets an error message and thinks that the password reset process hasn’t worked.
It has worked just fine but they got sent to the wrong place.
Changing the call to
$template->action_url( 'resetpass')
found inresetpass-form.php
to$template->action_url('login')
fixes this by sending the user to the login page after they save their new password.The confirmation (of password change) message still shows and the password does reset properly so this fixes the warning message around the ‘invalid key’ issue.
- The topic ‘Resetting password yields wrong reset key’ is closed to new replies.