Title: Password Reset Problem
Last modified: August 30, 2016

---

# Password Reset Problem

 *  [Uendi](https://wordpress.org/support/users/uendi/)
 * (@uendi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/)
 * I have just updated Theme my login 6.4.2. I have also copied resetpass form. 
   I noticed that after I have entered the “NEW PASSWORD” in the resetpass form 
   and click Submit, it go back to Lost Password form. So I continue doing and repeating
   as there is no way to get out of these two forms at all.
 * Please help. Thanks.
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/password-reset-problem-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/password-reset-problem-4/page/2/?output_format=md)

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842195)
 * Is there an error when you are redirected back to the Lost Password page after
   resetting the password? Also, does the new password work?
 *  Thread Starter [Uendi](https://wordpress.org/support/users/uendi/)
 * (@uendi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842255)
 * There is an error url shows :
 * [http://site.com/lostpassword/?error=invalidkey](http://site.com/lostpassword/?error=invalidkey)
 * No. The new password cannot be used at all when I tried to login.
 * Thanks.
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842290)
 * Be sure that your `lostpassword-form.php` and `resetpass-form.php` are up to 
   date with TML’s.
 *  [Guido Handrick](https://wordpress.org/support/users/kito76/)
 * (@kito76)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842298)
 * I’m using TML 6.4.3 and WP 4.4 and got the same error as Uendi.
    On the lostpassword
   page i get this error message “Your password reset link appears to be invalid.
   Please request a new link below.” I’ve reinstalled the plugin, so every file 
   is new and up to date. This is my reset password link: /login/?action=rp&key=
   stBfvCZ89L6CvAGQq7Xh&login=ghandrick-1 if i change it to /wp-login.php?action
   =rp&key=stBfvCZ89L6CvAGQq7Xh&login=ghandrick-1 everything works fine. I don’t
   use a cache plugin or something else.
 *  [Walter karel](https://wordpress.org/support/users/walter-karel/)
 * (@walter-karel)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842312)
 * Hi Jeff,
 * I am having the same issue and I already figured out what happens. Actually your
   plugin works like a charm, but when disabling wp-login.php things go wrong. Without
   the disable wp-login.php checkbox checked it works perfectly, but when checked
   it doesn’t change the reset URL.
 * Do you have a fix for this? I really have my reasons for disabling the wp-login.
   php…
 * Hope you can point me in some direction or help me out.
 * Kind regards,
    Walter
 *  [gabelloyd](https://wordpress.org/support/users/alwaysbrightblue/)
 * (@alwaysbrightblue)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842365)
 * I’d like the same functionality as Walter – disable wp-login.php. I have the 
   same issues, currently, with reset password.
 *  [gabelloyd](https://wordpress.org/support/users/alwaysbrightblue/)
 * (@alwaysbrightblue)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842366)
 * I disabled the wp-login, but we are still getting this error:
 * `Your password reset link appears to be invalid. Please request a new link below.`
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842368)
 * The most common issue with the invalid reset keys come from a host who uses server
   side caching, such as nginx with Varnish. Check if your host does.
 *  [docmatu](https://wordpress.org/support/users/docmatu/)
 * (@docmatu)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842386)
 * Also have a problem with password reset since I upgraded to 6.4.3. Users receive
   the message: “The website encountered an error while retrieving [http://…/…/lostpassword/](http://…/…/lostpassword/).
   It may be down for maintenance or configured incorrectly.”
    I use the weaver 
   II theme, and did not upgrade to WP4.4 yet. Could you please help?
 * Thanks,
 * dd
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842387)
 * TML 6.4.3 does require WP 4.4.
 *  [Guido Handrick](https://wordpress.org/support/users/kito76/)
 * (@kito76)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842396)
 * Hi Jeff, today i found the reason for the reset password link error. I use the
   SB Welcome Mail Plugin and TML. If i disable the SBWM Plugin everything works
   fine. So i looked at the link URL in the mails:
 * Without SBWM: /resetpass/?key=OtiLajrPFxFTjHB2Q6vu&login=ghandrick-1
    With SBWM:/
   login/?action=rp&key=dNtnae2TJ3KeVHjqyLgh&login=ghandrick-1
 * The second link dosn’t work with your TML plugin.
 * So as a quick fix i did a small change in the SBWM Plugin:
 *     ```
       $reset_url = network_site_url("resetpass/?key=$key&login=" . rawurlencode($user_login), 'login');
       //$reset_url = wp_login_url() . '?action=rp&key=' . $key . '&login=' . rawurlencode($user_login);
       ```
   
 * Regards
    Guido
 *  [embolden](https://wordpress.org/support/users/embolden/)
 * (@embolden)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842397)
 * I was using the 6.4 version of the plugin and having the same issue that others
   are having.
 * Updated to 6.4.3 this morning and now I’m getting:
 * > Fatal error: Call to undefined function get_password_reset_key() in /wp-content/
   > plugins/theme-my-login/includes/class-theme-my-login.php on line 1153
 * Is there a workaround if my host does use server side caching? The site is hosted
   on WPEngine and I believe they’re handling the caching.
 * Edit: Changed code block to blockquote.
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842399)
 * Yes, they need to exclude TML pages from the cache for you.
 *  [Mathias.f](https://wordpress.org/support/users/mathiasf-1/)
 * (@mathiasf-1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842400)
 * Hello,
    I’m having the same ?error=invalidkey issue. I had a lengthy chat with
   WPengine and I made sure that they excluded the TML pages; however, I am still
   getting the error.
 * Cheers
 *  [embolden](https://wordpress.org/support/users/embolden/)
 * (@embolden)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/password-reset-problem-4/#post-6842401)
 * Mathias.f – after I had them exclude the TML pages I cleared the cache and that
   did it for me.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/password-reset-problem-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/password-reset-problem-4/page/2/?output_format=md)

The topic ‘Password Reset Problem’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 20 replies
 * 9 participants
 * Last reply from: [maspegren](https://wordpress.org/support/users/maspegren/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/password-reset-problem-4/page/2/#post-6842411)
 * Status: not resolved