Title: 2FA Not Recognizing App-Generated Code
Last modified: September 1, 2020

---

# 2FA Not Recognizing App-Generated Code

 *  Resolved [Wudman](https://wordpress.org/support/users/wudman/)
 * (@wudman)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/2fa-not-recognizing-app-generated-code/)
 * I have tried several times to login to a website using the Google Authenticator
   App and WordFence 2FA. I seem to be having a problem unique to one site. I get
   the “2FA Failed To Authenticate…” message when trying to use the app-generated
   code.
 * The process is working as usual on other websites with WordFence 2FA enabled.
   Fortunately I have side doors via the hosting control panel and I keep my Authentic
   Recover Codes handy
 * In the meantime, I have disabled 2FA on that website.
 * It is WordPress Managed Hosting on GoDaddy (Not my decision)
    WordPress version
   is 5.5 (Not updated to 5.1) PHP is 7.3 The only other plugins are: WordFence 
   WPS Hide Login Yoast SEO DIVI Accessibility
 * Theme is:
    DIVI
 * This is a basic plugin and theme load on all the other sites. The only unique
   situation is the hosting.
 * I came at this several ways including a WordPress scan. No issues are detected
   other than the one alerting me WordPress version out of date referring to 5.5.1
   which hasn’t been dropped to this site yet.

Viewing 1 replies (of 1 total)

 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/2fa-not-recognizing-app-generated-code/#post-13350268)
 * Hello [@wudman](https://wordpress.org/support/users/wudman/) and thanks for reaching
   out to us!
 * What is the exact error message you are getting when you try to login? I have
   seen 2fa issues on GoDaddy in the past but usually, you would get a “too many
   attempts” error message. I am thinking this could be one of two things:
 * 1) Browser cache issue – Try from a different browser
 * 2) Possible Plugin/Theme conflict issue:
    I recommend checking for a plugin or
   theme conflict. To do this, you can disable your other plugins on the site one
   at a time and test, or alternatively, use the **Health Check & Troubleshooting
   plugin** ([https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)).
   That is a plugin you will need to install from the Plugins > Add New area.
 * If you use the **Health Check & Troubleshooting plugin**, you can troubleshoot
   the site with just Wordfence enabled and the changes are only seen in the back
   end and not to visitors.
    After downloading that, in the plugins section under
   Health Check & Troubleshooting you’ll see “Troubleshoot”. Click that and you’ll
   be in Troubleshooting Mode, which you will see a Troubleshooting Mode button 
   in the top admin bar, which lets you know you are actively troubleshooting. (
   Note about that: Clicking Disable Troubleshooting mode in that area will turn
   off troubleshooting when you’re done testing for the conflict at the end.)
 * With Troubleshooting mode active, in the plugins section, you will see Enable
   while troubleshooting under all your plugins. Click Enable while troubleshooting
   under Wordfence, and your site on the backend will act as only Wordfence is enabled.
   Keep in mind, this doesn’t always rule out plugin conflicts, however, it can 
   a good portion of the time.
 * Once you enable the troubleshooting with Wordfence, go over to the Wordfence 
   plugin and check to see if the issues continue.
 * If they do continue, then we need to look elsewhere.
 * If things are working now, then you can go back to the plugins section and start
   from the top and click Enable while Troubleshooting under the plugins, one at
   a time. In between enabling multiple plugins, be sure to go back and test Wordfence
   is still functioning. That will narrow it down.
 * Also, from the top on the admin bar where we see Troubleshooting Mode. Hover 
   over that with your mouse and check to see if a default theme is selected (if
   you have one installed). It is also good to rule out the theme. Keep in mind,
   these changes will not change the way the site looks to visitors.
 * We always recommend making a site backup prior to installing new plugins, in 
   case there would be an issue.
 * Let me know if this helps!
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘2FA Not Recognizing App-Generated Code’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WFAdam](https://wordpress.org/support/users/wfadam/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/2fa-not-recognizing-app-generated-code/#post-13350268)
 * Status: resolved