The password reset key is invalid

Posted in: Newspaper
Post count: 242

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

Post count: 27744

Hello,

I did some tests, and for me, this error does not appear; this is strange. Do you use a plugin or rules to redirect links?

Thank you!

Post count: 242

Hello,

I have no redirecting links that are related to the login page.

Thank you

Post count: 27744

Please provide the link to your website.

Post count: 242

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!

Post count: 27744
Post count: 27744
Post count: 242

Okay thank you!

Post count: 242

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!

Post count: 242

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!

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.