• Resolved ramnathk

    (@ramnathk)


    Hey guys, I am getting an error when i click on a password reset link that states:
    “Your password reset link appears to be invalid. Please request a new link below.”

    I am using TML and Paid Membership Pro on Cloudways. I have removed the following pages from being cached, both in the caching plugin and on Varnish
    /resetpass/*
    /lostpassword/*
    /login/*
    /logout/*

    I use Elastic email as the SMTP provider and I removed any tracking options so that the URLs are not modified. Can someone help identify what the problem is?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    I almost bet the pages are still being cached. Are you sure that the URL’s are being accessed with a trailing slash?

    Thread Starter ramnathk

    (@ramnathk)

    Thanks for getting back so promptly Jeff. I just checked the following pages:
    1. /lostpassword/
    2. /login/ – goes on to /login/?checkemail=confirm
    3. /resetpass/ – eg. /resetpass/?key=KcNrCEpWGUN4NthyoeGn&login=testu

    So, yes they are generated with a trailing slash ‘/’. I use Breeze as the caching plugin and I know that the cache-exclusion settings work because I had to exclude some payment pages from being cached for them to start working.

    Does that provide any clues on what is going on?

    Cheers

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you use your browser’s network inspector to see the headers of the request, or if any redirects are happening beforehand? You’ll need to have a browser tab open with the network inspector open, and then copy/paste the password reset link into the browser. Also, make sure to persist the logs.

    Thread Starter ramnathk

    (@ramnathk)

    Jeff, sorry it took me a while. I followed up with Cloudways and it turned out to be an issue on their Varnish server, so you were right it was a cache problem though the config was right.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Glad you got it sorted out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘password reset link not worknig’ is closed to new replies.