Title: F2A code lost cant log in
Last modified: July 7, 2020

---

# F2A code lost cant log in

 *  Resolved [tanmoy1285](https://wordpress.org/support/users/tanmoy1285/)
 * (@tanmoy1285)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/f2a-code-lost-cant-log-in/)
 * Hello,
    Please help me recover the f2a code or disable for my website as i cant
   log in to my wp admin console. Please help
    -  This topic was modified 5 years, 10 months ago by [tanmoy1285](https://wordpress.org/support/users/tanmoy1285/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ff2a-code-lost-cant-log-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/f2a-code-lost-cant-log-in/#post-13092675)
 * Thanks for reaching out. I’m happy to provide you instructions on how to get 
   back in.
 * If you have lost or replaced your old phone and can no longer access your site(
   s), and you have misplaced the 2FA backup codes, there are 2 ways to get back
   into the site.
 * The first way is if you have added the site in Wordfence Central (a free site
   management tool in your account on wordfence.com).
    Login to Wordfence.com and
   look for the Configuration tab. Click the gear icon at the end of the row that
   the site you need to access is on. Scroll down to the Login Security Options 
   section and expand it by clicking the small black arrow to the right. In the 
   section that says “Whitelisted IP addresses that bypass 2FA” add your public 
   facing IP address. NOTE : You can get your public facing IP by clicking this 
   link.. Scroll back to the top of the screen and save the changes. You should 
   now be able to login to your site with just a username and password.
 * If you haven’t added your site to Wordfence Central follow these steps.
 * Please use FTP/SFTP — or any file manager your web host provides via their administration
   panel.
    Look inside the /wp-content/plugins/ directory and rename the wordfence
   directory to wordfence.bak. This will deactivate Wordfence and allow you to login
   without the 2FA code. Once you have logged in to your WordPress admin you can
   name the folder back to wordfence again. Go to your user profile and add 2FA 
   back to your account, making sure to download the backup codes in case of problems
   in the future.
 * Tim
 *  Thread Starter [tanmoy1285](https://wordpress.org/support/users/tanmoy1285/)
 * (@tanmoy1285)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/f2a-code-lost-cant-log-in/#post-13093324)
 * Thank you…

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

The topic ‘F2A code lost cant log in’ 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/)

## Tags

 * [2fa](https://wordpress.org/support/topic-tag/2fa/)
 * [locked out](https://wordpress.org/support/topic-tag/locked-out/)

 * 2 replies
 * 2 participants
 * Last reply from: [tanmoy1285](https://wordpress.org/support/users/tanmoy1285/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/f2a-code-lost-cant-log-in/#post-13093324)
 * Status: resolved