Title: Reset 2FA
Last modified: July 30, 2024

---

# Reset 2FA

 *  Resolved [rorshach](https://wordpress.org/support/users/rorshach/)
 * (@rorshach)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/)
 * I lost my private key / authenticator app and need to reset 2FA for a user (OK
   to reset all 2FA for all users if not possible to do it for just 1 user).
 * Reset = allow set up of a new private key / authenticator app.
 * I noticed that in previous posts there was a referral to a solution found in 
   the “Two-Factor Authentication” subfolder under “WP Security” in the WP side 
   menu, but this doesn’t exist in the newer version I use (Version 5.3.1)
 * Any help would be greatly appreciated.
    -  This topic was modified 1 year, 10 months ago by [rorshach](https://wordpress.org/support/users/rorshach/).
    -  This topic was modified 1 year, 10 months ago by [rorshach](https://wordpress.org/support/users/rorshach/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freset-2fa%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921281)
 * Hi,
 * If you are an admin and have access to the website file manager using hosting.
 * Please add the below constant to wp-config.php it will disable TFA for all users
   and allow you / user to log in without OTP
 * After login go to the Two-factor Auth Settings page > scan the QR Code in the
   Google Authenticator app etc. so you have the OTP 
 * You can remove the Constant once the setting is done by that user.
 *     ```wp-block-code
       define('TWO_FACTOR_DISABLE', true); 
       ```
   
 * Regards
 *  Thread Starter [rorshach](https://wordpress.org/support/users/rorshach/)
 * (@rorshach)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921307)
 * Thank you for the very quick answer! Unfortunately it doesn’t work. I have managed
   to disable 2FA in wp-config.php but there is nowhere where I can scan a QR code.
   There is no Two-factor Auth Settings page, but rather a tab in the general “settings”
   page. QR code is not displayed there.
 * ![](https://wordpress.org/942aa94a-dfb1-4b5d-894f-ec3ff965ba35)
 *  Thread Starter [rorshach](https://wordpress.org/support/users/rorshach/)
 * (@rorshach)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921311)
 * Resubmitting image:
 * ![](https://i0.wp.com/snipboard.io/gnvFNt.jpg?ssl=1)
 * ![](https://i0.wp.com/snipboard.io/QzSihp.jpg?ssl=1)
    -  This reply was modified 1 year, 10 months ago by [rorshach](https://wordpress.org/support/users/rorshach/).
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921524)
 * Hi [@rorshach](https://wordpress.org/support/users/rorshach/),
 * No, Below WP Security > Tools it shows the Two factor Auth menu also in AIOS 
   5.3.1
 * [https://snipboard.io/EtBcI8.jpg](https://snipboard.io/EtBcI8.jpg)
 * Strangely, it do not show Two factor Auth in your screen shot. It might be some
   conflict.
 * [https://snipboard.io/mNt6wp.jpg](https://snipboard.io/mNt6wp.jpg)
 * It might be any other plugin or theme conflict, Do you have any other security
   plugin installed if yes try disable that.
 * Can you please try use below url and access the page ? let me know.
 * `/wp-admin/admin.php?page=aiowpsec_two_factor_auth_user`
 * Regards
 *  Thread Starter [rorshach](https://wordpress.org/support/users/rorshach/)
 * (@rorshach)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921593)
 * Thanks!
 * When trying to access [my website]/wp-admin/admin.php?page=aiowpsec_two_factor_auth_user
   I am getting the message: Sorry, you are not allowed to access this page. (I 
   am logged in as admin role)
 *     ```wp-block-code
       Here is a dump of the active plugins I have:All In One WP SecurityAll In One WP SecuritySettings | DeactivateAll round best WordPress security plugin!Version 5.3.1 | By All In One WP Security & Firewall Team | View detailsAvada BuilderAvada BuilderDeactivateThe advanced, premium drag & drop Avada Website Builder. Streamline your work and save time for the more important things.Version 3.11.2 | By ThemeFusion | View detailsEnable auto-updatesSelect Avada CoreAvada CoreDeactivateAvada Core Plugin for the advanced, premium drag & drop Avada Website Builder. Streamline your work and save time for the more important things.Version 5.11.2 | By ThemeFusion | View detailsEnable auto-updatesSelect Avada Custom BrandingAvada Custom BrandingDeactivate | SettingsCustom Branding plugin for the Avada Website Builder.Version 1.2 | By ThemeFusion | View detailsEnable auto-updatesSelect Avlabs Speed OptimizationAvlabs Speed OptimizationDeactivateMinify, Combine JS/CSSVersion 1.0.0 | By Vikas Sharma | Visit plugin siteSelect Duplicate PageDuplicate PageSettings | Donate | DeactivateDuplicate Posts, Pages and Custom Posts using single click.Version 4.5.2 | By mndpsingh287 | View detailsEnable auto-updatesThere is a new version of Duplicate Page available. View version 4.5.4 details or update now.Select DuplicatorDuplicatorUpgrade to Pro | DeactivateMigrate and backup a copy of your WordPress files and database. Duplicate and move a site from one location to another quickly.Version 1.5.5.1 | By Duplicator | View details | ManageEnable auto-updatesThere is a new version of Duplicator available. View version 1.5.10.1 details or update now.Select Easy Video PlayerEasy Video PlayerDeactivate | SettingsEasily embed videos into your WordPress blogVersion 1.2.2.9 | By naa986 | View detailsEnable auto-updatesThere is a new version of Easy Video Player available. View version 1.2.2.11 details or update now.Select LayerSliderLayerSliderDeactivate | Update RequiredLayerSlider is a premium multi-purpose content creation and animation platform. Easily create sliders, image galleries, slideshows with mind-blowing effects, popups, landing pages, animated page blocks, or even a full website. LayerSlider empowers millions of active websites on a daily basis with stunning visuals and eye-catching effects.Version 7.6.9 | By Kreatura Media | View detailsEnable auto-updatesThere is a new version of LayerSlider available. View version 7.11.1 details. Automatic update is unavailable for this plugin. License registration is required in order to receive updates for LayerSlider. Purchase a license or read the documentation to learn more. Got LayerSlider in a theme?Select RedirectionRedirectionSettings | DeactivateManage all your 301 redirects and monitor 404 errorsVersion 5.3.10 | By John Godley | View detailsEnable auto-updatesThere is a new version of Redirection available. View version 5.4.2 details or update now.Select Simply StaticSimply StaticDeactivateA static site generator to create fast and secure static versions of your WordPress website.Version 3.0.7 | By Patrick Posner | View detailsEnable auto-updatesThere is a new version of Simply Static available. View version 3.1.7.4 details or update now.Select Slider RevolutionSlider RevolutionDeactivate | Go Premium | Update RequiredSlider Revolution - More than just a WordPress SliderVersion 6.6.15 | By ThemePunch | Visit plugin siteThere is a new version (6.7.15) of Slider Revolution available. To update directly register your license key now or purchase a new license key to access all premium features.Select TrustedSiteTrustedSiteSettings | DeactivateDisplay TrustedSite trustmarks on your website to increase visitor confidence and conversion rates.Version 1.2.0 | By TrustedSite | View detailsEnable auto-updatesSelect UpdraftPlus - Backup/RestoreUpdraftPlus - Backup/RestorePremium / Pro Support | Settings | Deactivate | Take TourBackup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.Version 1.23.9 | By UpdraftPlus.Com, DavidAnderson | View detailsEnable auto-updatesThere is a new version of UpdraftPlus - Backup/Restore available. View version 1.24.4 details or update now.Select WP Mail SMTPWP Mail SMTPGet WP Mail SMTP Pro | Settings | Docs | DeactivateReconfigures the wp_mail() function to use Gmail/Mailgun/SendGrid/SMTP instead of the default mail() and creates an options page to manage the settings.Version 3.8.2 | By WP Mail SMTP | View detailsEnable auto-updatesThere is a new version of WP Mail SMTP available. View version 4.1.0 details or update now.Select WPForms LiteWPForms LiteGet WPForms Pro | Settings | Docs | DeactivateBeginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.Version 1.8.3.1 | By WPForms | View detailsEnable auto-updatesThere is a new version of WPForms Lite available. View version 1.8.9.6 details or update now.Select Yoast SEOYoast SEOGet Premium | FAQ | Settings | DeactivateThe first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.Version 23.1 | By Team Yoast | View details
       ```
   
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17921863)
 * Hi [@rorshach](https://wordpress.org/support/users/rorshach/),
 * Do this menu WP security > Two Factor Auth disappeared recently? According to
   me it seems this is not a new install of AIOS 5.3.1 and you should have used 
   older version of AIOS.
 * If yes. Can you please install WP Rollback plugin and Rollaback the AIOS to 5.3.0
   and then cross check,
 * I will cross-check more, Which theme do you use?
 * Regards
 *  Thread Starter [rorshach](https://wordpress.org/support/users/rorshach/)
 * (@rorshach)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17922106)
 * Hi [@hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/),
 * Rolled back to 5.3.0. Still no “Two Factor Auth” menu item. I am using a fully
   licensed version of the Avada WordPress theme: [https://themeforest.net/item/avada-responsive-multipurpose-theme/2833226](https://themeforest.net/item/avada-responsive-multipurpose-theme/2833226)
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17923861)
 * Hi [@rorshach](https://wordpress.org/support/users/rorshach/),
 * Ok, Once logged in, Please remove TWO_FACTOR_DISABLE defined in wp-config.php
 * And make sure TFA is available for Admins
 * [https://snipboard.io/M3Ht0S.jpg](https://snipboard.io/M3Ht0S.jpg)
 *  I willl also create an internal ticket to replicate the issue,
 * Regards
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17945744)
 * Hi [@rorshach](https://wordpress.org/support/users/rorshach/)
 * I have tried installing most plugins mentioned but still can not replicate this
   issue.
 * As Avada seems paid theme, I can not check if the issue is with that.
 * I will try if possible to check for that and get back to you
 * Regards
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17982555)
 * Hi [@rorshach](https://wordpress.org/support/users/rorshach/)
 * We can not replicate this issue with available information and do not have the
   Avada premium theme.
 * Can you please try to run the below query and if any records there can you please
   delete those?
 * It might be any error logged also let me konw.
 * `SELECT * FROM wp_options WHERE option_name LIKE '%tfa_%'`
 * Regards

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

The topic ‘Reset 2FA’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

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

 * 10 replies
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/reset-2fa/#post-17982555)
 * Status: resolved