Title: Log in Error
Last modified: September 11, 2026

---

# Log in Error

 *  Resolved [mcruijssen](https://wordpress.org/support/users/mcruijssen/)
 * (@mcruijssen)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/log-in-error-22/)
 * Hi,
 * I keep getting an error with 2FA when turned on. I type my email, and my password
   and then normally it goes to a new page where i can add the 2FA code. Now the
   page just refreshens and i cant fill in the 2FA code, but it does ging an error
   that i need to fill it in (in dutch: CODE VEREIST: geef uw 2FA code op wanneer
   daarom wordt gevraagd).
 * Hope someone knows how to fix this!

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

 *  Plugin Support [wfmargaret](https://wordpress.org/support/users/wfmargaret/)
 * (@wfmargaret)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/log-in-error-22/#post-19020939)
 * Hi [@mcruijssen](https://wordpress.org/support/users/mcruijssen/),
 * Thank you for reaching out! That message means your email and password were accepted,
   but the 2FA code box did not appear. Wordfence adds that box to the login page
   with JavaScript. When that script does not run, the login form is sent directly
   to WordPress without a code, and you see the “CODE REQUIRED” message.
 * You can still log in right now. Type your 2FA code directly after your password,
   in the same password field. For example, if your password is w0rdf3nce#! and 
   your code is 233455, enter w0rdf3nce#!233455 and click Log In. This is explained
   here: [https://www.wordfence.com/help/tools/two-factor-authentication/#how-to-log-in-with-two-factor-authentication](https://www.wordfence.com/help/tools/two-factor-authentication/#how-to-log-in-with-two-factor-authentication)
 * Our 2FA works on the default WordPress login page and on WooCommerce. If you 
   have any plugins customizing the login page, please try logging in while those
   are disabled, as they may conflict. If that doesn’t point you in the right direction,
   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._
 * **NOTE:** It should look as follows – Screenshot of [Tools > Diagnostic > Send by Email](https://www.wordfence.com/wp-content/uploads/2021/09/diagnosticsendbyemail.png)
 * Thanks,
   Margaret
 *  Thread Starter [mcruijssen](https://wordpress.org/support/users/mcruijssen/)
 * (@mcruijssen)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/log-in-error-22/#post-19021563)
 * Thanks so much! Ill look into it.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flog-in-error-22%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 2 replies
 * 2 participants
 * Last reply from: [mcruijssen](https://wordpress.org/support/users/mcruijssen/)
 * Last activity: [1 week, 4 days ago](https://wordpress.org/support/topic/log-in-error-22/#post-19021563)
 * Status: resolved