Title: Error when 2FA/Captcha are activated.
Last modified: June 7, 2021

---

# Error when 2FA/Captcha are activated.

 *  Resolved [midnyt17](https://wordpress.org/support/users/midnyt17/)
 * (@midnyt17)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-when-2fa-captcha-are-activated/)
 * One of the sites I’m working on has started showing “ERROR: An error was encountered
   while trying to authenticate. Please try again.” whenever Wordfence’s 2FA or 
   Captcha are activated. If I turn both off then I am able to log in fine.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-2fa-captcha-are-activated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-when-2fa-captcha-are-activated/#post-14530017)
 * Hello [@midnyt17](https://wordpress.org/support/users/midnyt17/) and thanks for
   reaching out to us!
 * Can you send a diagnostic report to **wftest @ wordfence . com**? You can find
   the link to do so at the top of the **Wordfence Tools > Diagnostics** page. Then
   click on **“Send Report by Email”**. Please add your forum username where indicated
   and _respond here after you have sent it._
 * Also, could you post a screenshot of your Wordfence > Login Security > Settings
   page. Make sure to block out any private information!
 * Thanks again!
 *  Thread Starter [midnyt17](https://wordpress.org/support/users/midnyt17/)
 * (@midnyt17)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-when-2fa-captcha-are-activated/#post-14530748)
 * Hi WFAdam,
 * Thanks for the response. I’ve sent the diagnostic through email. And here’s the
   link to the screenshot of our Login Security settings: [https://ibb.co/vm2HJ4S](https://ibb.co/vm2HJ4S)
 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-when-2fa-captcha-are-activated/#post-14547258)
 * Thanks for sending that!
 * I don’t see anything that would be conflicting with our 2FA. Is this a new issue
   that just started?
 * We might want to try deleting the login security tables and seeing if that resolved
   the issue. The only downside to that is you will need to set up 2FA again on 
   the site. Navigate to Wordfence > Login Security > Settings and enable “Delete
   Login Security Tables”. After that, disable Wordfence via the plugin page, then
   enable it again.
 * Set 2FA back up and see if this issue is still occurring.
 * Thanks again!

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

The topic ‘Error when 2FA/Captcha are activated.’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [WFAdam](https://wordpress.org/support/users/wfadam/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/error-when-2fa-captcha-are-activated/#post-14547258)
 * Status: resolved