Title: Password Reset Issues
Last modified: August 24, 2016

---

# Password Reset Issues

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [11 years ago](https://wordpress.org/support/topic/password-reset-issues-2/)
 * If you are using custom templates, specifically _resetpass-form.php_, and lost
   password reset functionality after the upgrade to 6.3.12, this applies to you.
 * There were changes to the _resetpass-form.php_ template. The key and user login
   values are now passed in a cookie (as per WP issue [#29060](https://core.trac.wordpress.org/ticket/29060))
   instead of in the URL. A new hidden field was added, plus a new way of populating
   an existing field. Have a look at [this diff](https://plugins.trac.wordpress.org/changeset/1155477/theme-my-login/branches/6.3/templates/resetpass-form.php)
   to view the changes.
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

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

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128428)
 * If you have this issue and are using WPEngine or another Nginx reverse-cached
   proxy host, see [this](https://wordpress.org/support/topic/password-reset-form-not-working-part-2?replies=29#post-6979603).
 *  [rodgerholl](https://wordpress.org/support/users/rodgerholl/)
 * (@rodgerholl)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128444)
 * Found the possible issue causing the reset password problems.
 * The cookie path for wp-resetpass-xxxxxxx is being set to /login/ so it is not
   accessible by the /resetpass/ url which is where the New password form is submitting
   to.
 * I tested setting the cookie path to “/” and it fixes the issue.
 * I dont know why the wp-resetpass cookie cannot be accessible to the entire site.
   If there is a reason, then the $rp_path should be set to “/resetpass”.
    Tested
   this and it fixes the issue as well.
 *  [rodgerholl](https://wordpress.org/support/users/rodgerholl/)
 * (@rodgerholl)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128445)
 * For those that would want to know the code change:
 * Change line 318 in the /theme-my-login/includes/class-theme-my-login.php file
   
   from `setcookie( $rp_cookie, $value, 0, $rp_path, COOKIE_DOMAIN, is_ssl(), true);`
 * to
 *     ```
       setcookie( $rp_cookie, $value, 0, "/resetpass", COOKIE_DOMAIN, is_ssl(), true );
       ```
   
 * Cheers
 *  [loslobos7](https://wordpress.org/support/users/loslobos7/)
 * (@loslobos7)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128447)
 * Thanks for the help, rodgerholl and Jeff Farthing
 * I have version 6.3.10 and I have a problem with resetting passwords as well.
 * I can’t, however, find line 318 in the .php file. Is that because of my version
   of it? Do you what can be done to help this problem?
 * My website is curiales.nl
 * Cheers!
 *  [shibbymintay](https://wordpress.org/support/users/shibbymintay/)
 * (@shibbymintay)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128448)
 * Hello,
 * So I am still having this issue. I’m not using a custom resetpass-form template
   and I also tried changing the line in the /theme-my-login/includes/class-theme-
   my-login.php file like rodgerholl suggested; no luck. I’m not sure what else 
   I can do.
 * I’m using the latest versions of both TML (6.3.12) and WordPress (4.2.2)
 *  [mozakdesign](https://wordpress.org/support/users/mozakdesign/)
 * (@mozakdesign)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128449)
 * I am also having troubles w/the password reset. I have asked my host .. and there
   is no caching going on
 * [http://rotarianactiongroupforpeace.org/](http://rotarianactiongroupforpeace.org/)
 * I go from this screen: [http://www.rotarianactiongroupforpeace.org/login/?action=rp](http://www.rotarianactiongroupforpeace.org/login/?action=rp)
 * to: [http://www.rotarianactiongroupforpeace.org/lostpassword/?error=invalidkey](http://www.rotarianactiongroupforpeace.org/lostpassword/?error=invalidkey)
 *  [ubo32](https://wordpress.org/support/users/ubo32/)
 * (@ubo32)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128453)
 * Same issue here. Rodgerhall’s suggestion didn’t work on my site.
 *  [zackdn](https://wordpress.org/support/users/zackdn/)
 * (@zackdn)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128454)
 * Thanks, [@rodgerholl](https://wordpress.org/support/users/rodgerholl/) and [@jeff](https://wordpress.org/support/users/jeff/)
   Farthing!
 * I made the changes that Jeff showed in the revised template and then make the
   change Rodger suggested and it’s working.
 * Jeff, Rodger’s fix is a change to the core files, which I’ll obviously lose on
   updates. What alternative is there for the future on this?
 *  [zackdn](https://wordpress.org/support/users/zackdn/)
 * (@zackdn)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128455)
 * Also, I am using W3TC and made sure to set exceptions never to cache “/resetpass”.
 *  [rodgerholl](https://wordpress.org/support/users/rodgerholl/)
 * (@rodgerholl)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128456)
 * Just an update, Been away and just getting caught up on all my lite reading.
 * Change line 318 in the /theme-my-login/includes/class-theme-my-login.php file
   
   from setcookie( $rp_cookie, $value, 0, **$rp_path**, COOKIE_DOMAIN, is_ssl(),
   true );
 * to
 * setcookie( $rp_cookie, $value, 0, **“/”**, COOKIE_DOMAIN, is_ssl(), true );
 * Using “/resetpass” does not fix the whole issue, I was using “/” even tho I provided
   an example of “/resetpass”
 * Cheers
 *  [darkpollo](https://wordpress.org/support/users/darkpollo/)
 * (@darkpollo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128470)
 * Having the same problems. The plugin should be updated.
 * I am going to try your solution.
    Maybe these two links help too:
 * [https://wordpress.org/support/topic/lost-password-link-in-email-not-valid-key-fix-does-not-work](https://wordpress.org/support/topic/lost-password-link-in-email-not-valid-key-fix-does-not-work)
 * [https://core.trac.wordpress.org/ticket/6842](https://core.trac.wordpress.org/ticket/6842)
 * Thanks
 *  [darkpollo](https://wordpress.org/support/users/darkpollo/)
 * (@darkpollo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128471)
 * I can confirm this doesn´t work on my install. 4.2.2
 *  [darkpollo](https://wordpress.org/support/users/darkpollo/)
 * (@darkpollo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128472)
 * Is this important?
 * When I’m using TML – I get links [still this same]
    /resetpass/?key=%24P%24BTUgIuyL3EavV7zaAPJK2wzadgn80e%
   2F&login=
 * When I turn off plugin i get different link:
    /wp-login.php?action=rp&key=Vduj7RK7r8YG4Koyy4fs&
   login=
 * This is critical and need to be fixed.
 * I do not need this login thing on this plugin.
    Will it possible to have an option
   on the plugin that themed the profile page but does not affect the logins or 
   passwords at all?
 * Thanks
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128473)
 * [@darkpollo](https://wordpress.org/support/users/darkpollo/) What TML version
   are you using?
 *  [darkpollo](https://wordpress.org/support/users/darkpollo/)
 * (@darkpollo)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/password-reset-issues-2/#post-6128474)
 * Latest. 6.3.12
    4.2.2 on wordpress
 * Thanks

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

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

The topic ‘Password Reset Issues’ 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/)

 * 24 replies
 * 9 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/password-reset-issues-2/page/2/#post-6128484)
 * Status: not a support question