• Resolved sscott1

    (@sscott1)


    I am using 2FA. An admin user somehow activated 2FA but could not find the code on his authenticator app. So I told him to try lost device. But the password sent doesn’t work. Also note that the user cannot change their password. They can only use the password I create for them. What is going on? I have to disable 2FA for now.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @sscott1

    This sounds like a more generic email delivery issue.

    You can install an email logging plugin like this:
    https://ww.wp.xz.cn/plugins/wp-mail-logging/
    to see if there’s any specific error message that can help you out (that’d be more for your hosting provider most probably)

    Another workaround would be to use a SMTP plugin, so you connect a 3rd party email server to send any outgoing emails. This should also help with email delivery in general. You can do so via our Branda plugin:
    https://ww.wp.xz.cn/plugins/branda-white-labeling/
    The usage guide for the SMTP module can be found here: https://premium.wpmudev.org/docs/wpmu-dev-plugins/branda/#smtp

    Thank you,
    Dimitris

    Thread Starter sscott1

    (@sscott1)

    What does it mean that I am receiving emails from other sections of my app and not Defender? For example, when someone posts a comment I get an email to accept the comment.

    Note I DO receive the email with the reset code, but when I enter that code it denies access from the automatically generated code. This happens for device resets and password resets.

    • This reply was modified 5 years, 7 months ago by sscott1.

    Hi @sscott1,

    It seems that there was some confusion here initially, I’ve tested the reset code on my test site but I’m afraid that I was unable to replicate this issue as I logged in with email code without any problems.

    Could you please perform a conflict test by disabling your other plugins and switch to default WP theme to see if the issue is gone after that?
    If it is, enable them one by one until it happens again and that should tell us where the problem is coming from so we can debug it further.

    I suggest doing this test on a staging site or if you don’t have one make sure to have a full backup ready before doing the test on live installation.

    Cheers,
    Predrag

    Thank you for using Defender. We are going to close this ticket for now because we have not heard from you in a while. If you still need support we can reopen the thread.

    Cheers,
    Predrag

    Thread Starter sscott1

    (@sscott1)

    Please keep the thread open. I am testing some things now to try to isolate.

    Thread Starter sscott1

    (@sscott1)

    Below is a screenshot once I click on the link sent by defender.

    Screenshot of invalid link.

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

    Thread Starter sscott1

    (@sscott1)

    In staging I was able to get it to work by disabling the plugins and re-enabling them. Simply turning them off and on again got it to work. I will get back to you once this is complete in production (tomorrow).

    Thread Starter sscott1

    (@sscott1)

    Ok, I was able to get the password reset to work in staging as mentioned before. But I am still unable to get 2FA reset password to work. I have disabled all plugins and reverted to the latest Twenty Twenty theme.

    Thread Starter sscott1

    (@sscott1)

    Ok, I was unable to reset the password using the dev environment by recycling the plugins. I get the following message in the URL:

    https://nycrulesdev.wpengine.com/admin-portal?action=lostpassword&error=invalidkey

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @sscott1

    Sorry to hear you are having this issue.

    On the staging website, it works for both? 2FA and reset the password?

    Is there any difference in the environments for example PHP, server, or WordPress version?

    Could you enable the debug mode and check if any log is generated,
    https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/

    Let us know the result you got.
    Best Regards
    Patrick Freitas

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Lost device not working’ is closed to new replies.