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 7 months, 3 weeks ago by
rorshach.
-
This topic was modified 7 months, 3 weeks ago by
rorshach.
The page I need help with: [log in to see the link]
-
This topic was modified 7 months, 3 weeks ago by
-
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.
define('TWO_FACTOR_DISABLE', true);?
Regards
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.
Hi @rorshach,
No, Below WP Security > Tools it shows the Two factor Auth menu also in AIOS 5.3.1
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
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
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)
Here is a dump of the active plugins I have:
All In One WP Security
All In One WP Security
Settings | Deactivate
All round best WordPress security plugin!
Version 5.3.1 | By All In One WP Security & Firewall Team | View details
Avada Builder
Avada Builder
Deactivate
The 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 details
Enable auto-updates
Select Avada Core
Avada Core
Deactivate
Avada 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 details
Enable auto-updates
Select Avada Custom Branding
Avada Custom Branding
Deactivate | Settings
Custom Branding plugin for the Avada Website Builder.
Version 1.2 | By ThemeFusion | View details
Enable auto-updates
Select Avlabs Speed Optimization
Avlabs Speed Optimization
Deactivate
Minify, Combine JS/CSS
Version 1.0.0 | By Vikas Sharma | Visit plugin site
Select Duplicate Page
Duplicate Page
Settings | Donate | Deactivate
Duplicate Posts, Pages and Custom Posts using single click.
Version 4.5.2 | By mndpsingh287 | View details
Enable auto-updates
There is a new version of Duplicate Page available. View version 4.5.4 details or update now.
Select Duplicator
Duplicator
Upgrade to Pro | Deactivate
Migrate 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 | Manage
Enable auto-updates
There is a new version of Duplicator available. View version 1.5.10.1 details or update now.
Select Easy Video Player
Easy Video Player
Deactivate | Settings
Easily embed videos into your WordPress blog
Version 1.2.2.9 | By naa986 | View details
Enable auto-updates
There is a new version of Easy Video Player available. View version 1.2.2.11 details or update now.
Select LayerSlider
LayerSlider
Deactivate | Update Required
LayerSlider 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 details
Enable auto-updates
There 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 Redirection
Redirection
Settings | Deactivate
Manage all your 301 redirects and monitor 404 errors
Version 5.3.10 | By John Godley | View details
Enable auto-updates
There is a new version of Redirection available. View version 5.4.2 details or update now.
Select Simply Static
Simply Static
Deactivate
A static site generator to create fast and secure static versions of your WordPress website.
Version 3.0.7 | By Patrick Posner | View details
Enable auto-updates
There is a new version of Simply Static available. View version 3.1.7.4 details or update now.
Select Slider Revolution
Slider Revolution
Deactivate | Go Premium | Update Required
Slider Revolution - More than just a WordPress Slider
Version 6.6.15 | By ThemePunch | Visit plugin site
There 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 TrustedSite
TrustedSite
Settings | Deactivate
Display TrustedSite trustmarks on your website to increase visitor confidence and conversion rates.
Version 1.2.0 | By TrustedSite | View details
Enable auto-updates
Select UpdraftPlus - Backup/Restore
UpdraftPlus - Backup/Restore
Premium / Pro Support | Settings | Deactivate | Take Tour
Backup 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 details
Enable auto-updates
There is a new version of UpdraftPlus - Backup/Restore available. View version 1.24.4 details or update now.
Select WP Mail SMTP
WP Mail SMTP
Get WP Mail SMTP Pro | Settings | Docs | Deactivate
Reconfigures 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 details
Enable auto-updates
There is a new version of WP Mail SMTP available. View version 4.1.0 details or update now.
Select WPForms Lite
WPForms Lite
Get WPForms Pro | Settings | Docs | Deactivate
Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
Version 1.8.3.1 | By WPForms | View details
Enable auto-updates
There is a new version of WPForms Lite available. View version 1.8.9.6 details or update now.
Select Yoast SEO
Yoast SEO
Get Premium | FAQ | Settings | Deactivate
The 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 detailsHi @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
Hi @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
Hi @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
I willl also create an internal ticket to replicate the issue,
Regards
Hi @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
Hi @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
- The topic ‘Reset 2FA’ is closed to new replies.