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
(@uendi)
There is an error url shows :
http://site.com/lostpassword/?error=invalidkey
No. The new password cannot be used at all when I tried to login.
Thanks.
Be sure that your lostpassword-form.php
and resetpass-form.php
are up to date with TML’s.
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.
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
I’d like the same functionality as Walter – disable wp-login.php. I have the same issues, currently, with reset password.
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.
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.
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/. 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
TML 6.4.3 does require WP 4.4.
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
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.
Yes, they need to exclude TML pages from the cache for you.
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
Mathias.f – after I had them exclude the TML pages I cleared the cache and that did it for me.