• Resolved Imageandreu

    (@andreu)


    Hi,

    We’ve encountered an issue with the password reset functionality when your plugin is enabled. Specifically, the activation key triggers an error when we attempt to use the password reset link received via email.

    After investigating the problem, we implemented the following fix in your plugin to resolve it:
    https://imgur.com/ShCMBuf

    Here’s the code snippet we added:

    $us_activation_key = (!empty($user->user_activation_key)) ? $user->user_activation_key : '';
    'user_activation_key' => $us_activation_key,

    Do you think this is an appropriate solution?
    Also, do you have any idea why other users might not be experiencing the same issue?

    We thought it could be useful in case you’d like to consider adding it to the plugin source.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author ImageAlexandre Froger

    (@frogerme)

    Hello @andreu and thank you so much for the contribution!

    Your changes have been added to v2.1.2 that was deployed just now – I hope this will solve the issue for the multiple users who have been experiencing password reset troubles.

    Although I have tested hundreds of times (and this is not an exaggeration) with multiple types of setup (same server, actually separate servers on widely different hosting services, sub-folder mode, etc) I have never been able to replicate, let alone understand why it was happening for these users in the first place.

    The distributed nature of the plugin’s logic makes it an order of magnitude harder to troubleshoot compared to classic plugins, and although I cannot really answer your question, your code contribution, your feedback regarding its efficacy, and your insight are particularly valuable!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.