I am the webmaster for the site of a friend. He chose ‘TheShop’ as a theme for a webshop (WooCommerce powered).
We both have been extremely happy with the results and functionality of the theme so far, but we bumped into a weird quirk recently.
When a user clicks the ‘I forgot my password’ button, an email is automatically sent to that user’s emailaddress. That email contains a ‘password reset link’, like this one:
So far so good.
BUT: when the user clicks the link, he gets sent to the exact same page as before (the ‘I forgot my password’-page). And so a user is effectively stuck in a “password reset loop”
Things I’ve tried so far:
- contacted our webhost to make sure they disabled server-side caching (found this as a possible solution on the WooCommerce-forums)
- disabled all the WordPress-plugins (except the core WooCommerce one, otherwise the ‘I forgot my password’-button is not displayed; it’s part of their functionality)
- contacted WooCommerce to tell them about the issue and this was their answer:
"As a test, I went on https://www.redacted.something/mijn-account/lost-password/ and created an account with
I then tried to reset the password. I can reproduce the error you stated, where the “lost password” form is displayed again. I’m suspecting there might be a theme conflict in this case.
I would recommend temporarily switching your theme back to the Storefront or Twenty Nineteen Theme. We do highly recommend a staging site for these tests so that your Live site is unaffected. A staging site is a clone or copy of the Live site, used for testing. You can reach out to your Host if you need to have a staging site set up, as they usually can assist you with this.
So I am running out of options, sadly. Is there anything that TheShop can block / cache / alter … ? Is there a setting or a line of code I need to change to make the reset-links work ?
Thanks in advance for your time & consideration !
Greetings from Belgium