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
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
Please keep the thread open. I am testing some things now to try to isolate.
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.”
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).
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.
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
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