Hello,
we are trying to rest the password in the optin builder (via the email that is being sent) but the link is not working although it looks legit. Like:
We are getting a “The password reset key is invalid.”
We are getting crazy because we followed the instruction here.
https://forum.tagdiv.com/tagdiv-opt-in-builder-emails/
The template is this…
Password reset
Hello %name%,
Someone has requested a password reset for your account.
To reset your password, visit the following address: %pass_reset_link%.
If this was a mistake, just ignore this email and nothing will happen.
But still we keep getting this.
We had security optimizer activated, we disabled it.
We had WP Rocket activated we disabled it.
We are using Cloudflare Enterprise via Cloudways and we have not options/control on that.
Please advise.
The site is: https://sophiasamara.com/tds-login-register/
Thank you!
The issue had to do with Redis.
Follow the instructions here:
https://forum.tagdiv.com/topic/the-password-reset-key-is-invalid-2/
Or -if this fails as it was in our case – do this:
if ( isset( $_SERVER['REQUEST_URI'] ) && (
strpos( $_SERVER['REQUEST_URI'], '/tds-login-register' ) !== false ||
strpos( $_SERVER['REQUEST_URI'], '/wp-login' ) !== false
) ) {
define( 'WP_REDIS_DISABLED', true );
}
(just add the registration ulrs that you are using)
Yes it solved it for the first part.
For the second part (when you do need to actually type the new passwords) it fails again.
I couldn’t be bothered so I disabled Redis all together.
Please ask your developers to make this redis compatible.
Also to make “forgot your password” code compatible with WP Rocket and/or provide us with a full list of the exceptions that we have to make
