Title: Endless 2FA Loop (Reset Plugin)
Last modified: November 17, 2021

---

# Endless 2FA Loop (Reset Plugin)

 *  Resolved [simong1976](https://wordpress.org/support/users/simong1976/)
 * (@simong1976)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/)
 * To cut a long story short, I have set up WP 2FA to not show the link in the user
   panel and to send an email to an address not verified with my smtp service.
 * Right now, cannot log in as WP 2FA is set to force 2FA to all users.
 * I need to reset the plugin back to defaults, but have tried to delete the plugin
   and reinstall, however the configuarion is still the same.
 * I have looked in the database but cannot see any records there either.
 * So, right now I am in a loop and need to reset the plugin back to defaults, or
   remove it entirely from the database. Neither I can do.
 * Any help will be appreciated.

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

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/#post-15085852)
 * Hello [@simong1976](https://wordpress.org/support/users/simong1976/)
 * Thank you for trying our plugin.
 * I am sorry to read about your issue. There are two ways how you can reset the
   plugin to default settings, both of which are explained below:
 * Option 1: Reinstall and activate the plugin and in the settings there is an option
   to delete database data upon uninstall. Check this box, and deactivate and uninstall
   the plugin. That will do the trick.
 * Option 2: The other option is to delete the settings manually from the database.
   All the plugin settings are stored in the wp_options table, and all option names
   start with the prefix “wp_2fa_”. So if you search for all the option_name entries
   starting with such prefix, you’ll see all the plugin settings. Delete them and
   re-activate the plugin. That will reset the plugin.
 * I hope the above helps. Should you need more information, please do not hesitate
   to ask.
 * Have a great day.
 *  Thread Starter [simong1976](https://wordpress.org/support/users/simong1976/)
 * (@simong1976)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/#post-15126291)
 * Hi,
 * Thanks for your response.
 * 1 dosnt work for me, because as soon as I re-activate the plugin it forces me
   into the 2FA login loop where it tries to send a code but I never get it.
 * I managed to remove the wp-2fa lines from the database and it allowed me to get
   back to the settings page, but after setting it all up as I have done on many
   sites, the authentication code is never received.
 * I have Portmark on this particualr site and it is working (I can gt ithemes Security
   2FA codes through OK when I have it activated) but for some reason the WP 2FA
   codes are never reeived.
 * I have similar sites on the same servers runing the same software stack with 
   no problems, but for some reason this one just isnt sending WP 2FA codes 🙁
 *  Thread Starter [simong1976](https://wordpress.org/support/users/simong1976/)
 * (@simong1976)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/#post-15126328)
 * Managed to sort it shortly after responding above.
 * The main WP email address was from a different domain and this meant that PostMark
   would not send the authentication email.
 * I managed to change the email address associated with WP 2FA so that it was from
   the domain, and the auth email was sent successfully.
 * Thanks for you help.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/#post-15126896)
 * I am glad to read that you solved the issue [@simong1976](https://wordpress.org/support/users/simong1976/)
 * Should there be anything else we can help you with, please do not hesitate to
   ask.
 * Have a great day.

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

The topic ‘Endless 2FA Loop (Reset Plugin)’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/endless-2fa-loop-reset-plugin/#post-15126896)
 * Status: resolved