Not able to login wordpress because i am not getting email of the 2FA code

Hi ,

I tried to log in to my account, but I’m not getting any 2FA code in my mail. (I have checked the spam folder but didn’t get anything) The email listed in Users> Two-Factor Options is correct. The email option is also enabled and is set as Primary. I have been waiting for 1 hour and still didn’t receive any code in my mail.

Please help me getting the code as I’m not able to login to my website. Or, if you could uninstall the plugin, it would be great.

Please help me

Thanks in advance

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


All DigitalOcean Droplets are unmanaged meaning that we do not have access to your servers and website files.

You could access your server via SSH and disable the plugin manually by renaming the 2FA plugin folder or using the wpcli tool to disable the plugin.

You can follow the steps on how to connect to your server via SSH here:

Let me know how it goes. Regards, Bobby