• Resolved evancourtney

    (@evancourtney)


    I’m using the “Front End Login” module and when a user tries to “Reset Password” on the login screen they click “Forgot Password.” An email is sent to them with a reset link. When they go to the reset link and enter a new password, they are sent to a page that says, “Your password reset link is invalid.”

    Whenever I disable the Uncanny LearnDash Toolkit plugin the reset password functionality is restored.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi Evan,

    This is unfortunately a very common issue–and it’s almost always due to caching. Please make sure you’ve tried disabling all caching plugins, and if caching is at the server level, ask for an exception to be added to page where you’re using the login form (so the page people are directed to in the password reset email). Don’t make this your homepage, as we have seen it not work at all on WP Engine (as an example) because caching can’t be completely disabled. Try putting it at /login/ instead and testing there if it’s currently on the homepage. If it’s still happening after disabling everything possible related to caching, please let us know.

    Thread Starter evancourtney

    (@evancourtney)

    I currently don’t have any caching plugins installed. I have gone through all of the plugins and disabled them one at a time to see if it changes anything. Whenever I disable “Uncanny LearnDash Toolkit” it works correctly, but doesn’t when enabled.

    Plugins installed:

    https://postimg.org/image/vwej40moz/
    https://postimg.org/image/496vn17tv/

    Currently the login page is here https://learn.pbismissouri.org/registration/

    Plugin Author Uncanny Owl

    (@uncannyowl)

    It looks like you’re on Bluehost, and I don’t know if they have any caching for this server-side. Why not disable our module for Front End Login and try Theme My Login instead to see if it’s just an issue with our plugin? Let us know if that is the case, but maybe that alternative is a better fit for the site.

    Thread Starter evancourtney

    (@evancourtney)

    I have disabled “Front End Login” and enabled “Theme My Login” and I’m getting the same error when I click the “reset password” link in my email.

    “Your password reset link appears to be invalid. Please request a new link below.”

    If disable the Uncanny LearnDash Toolkit plugin the reset password functionality is restored.

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Just to confirm… So the Theme My Logic password reset works, but only when the Toolkit plugin is disabled? That’s interesting and an outcome we haven’t seen. Nothing else at all in the plugin should interfere with password reset. If that is the case, maybe you could try disabling the other Toolkit modules to see if you’re conflicting with a specific one? We’ll take a closer look if it can be isolated.

    Thread Starter evancourtney

    (@evancourtney)

    If I disable “Front End Login” and enable “Theme My Login” the password link doesn’t work.
    If I disable “Uncanny LearnDash Toolkit” and enable “Theme My Login” the password link works.

    You can see the difference between the reset links that I get sent.
    When I login via Theme My Login, I log in from wp-login.php which generates this link when I reset password. And it works.

    https://learn.pbismissouri.org/wp-login.php?action=rp&key=iE9aTjUv2nCl56agcXjG&login=EvanTest>

    But when I use “Front End Login”, I log in from https://learn.pbismissouri.org/registration/ and the link I receive is this, which doesn’t work.

    https://learn.pbismissouri.org/resetpass/?key=T0XafOT6jpSQX0uo3L9M&login=EvanTest

    You can see that when I have Uncanny LearnDash Toolkit enabled the reset key that is sent to me is missing the action=rp.

    • This reply was modified 8 years, 2 months ago by evancourtney.
    Plugin Author Uncanny Owl

    (@uncannyowl)

    This is helpful, thanks! I know we won’t be looking at this today but we’ll take a look at potential causes next week.

    Thread Starter evancourtney

    (@evancourtney)

    So after talking to Bluehost for a 3rd time, they notified that a server caching service called Vanish is applied to my account.

    They have disabled it. The password links are all working correctly now.

    Thank you for your help.

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Ah. Yes, Varnish would do it. Glad to hear that you got it sorted out! I was pretty stumped about why you were the only one having this particular issue if caching had been ruled out. Thanks for the follow-up!

    In case someone stumbles upon this thread (as I did), with WP Engine both /login and also requests with “action” as a query param needed to be disabled for the Uncanny owl LearnDash login to work. But all sorted now!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Unable to Reset Password’ is closed to new replies.