Hello,
Whenever I reset my password using the front end password recovery page (/login-register/) I receive the email and I click on the reset password link but I get : The password reset key is invalid.
When using the back end password recovery page (/wp-login.php), I receive the email and I click on the reset password link I get redirected to (/login-register/) but this time it works and I can change the password.
I use no cache system so it’s not a cache problem.
Is this problem related to the theme?
Thank you
Hello,
I have no redirecting links that are related to the login page.
Thank you
Hello,
I’ve talked to my hosting provider and it was indeed a cache problem (redis cache to be exact).
Is there a way to bypass this and solve the problem?
Thank you!
Hello,
Unfortunately, I don’t know. You can check those topics https://forum.openlitespeed.org/threads/object-cache-redis-causing-reset-password-link-invalid.4479/ -> https://community.centminmod.com/threads/configure-redis-page-cache-to-bypass-specific-urls.16135/
Thank you!
Hello,
Unfortunately, I don’t know. You can check those topics https://forum.openlitespeed.org/threads/object-cache-redis-causing-reset-password-link-invalid.4479/ -> https://community.centminmod.com/threads/configure-redis-page-cache-to-bypass-specific-urls.16135/
Thank you!
Hello,
I talked to the support of Redis object cache plugin (https://wordpress.org/plugins/redis-cache/) and with my web hosting provider and they said that that it’s the theme that should fix this compatibility issue with redis cache, because if it works perfectly on /wp-login.php (default login page of wordpress) it should also be working fine with a personalized page built with the theme.
Thank you!
For the people who are having the same problem, add the following code to config.php :
define( ‘WP_REDIS_IGNORED_GROUPS’, array(
‘password_recovery’, // For password reset
‘users’, // User-related data
‘user_meta’, // User metadata
‘sessions’, // User sessions
‘auth’ // Authentication-related data
) );
It works like a charm!
