Tag: 2 factor authentication

 

Disable, reset or remove from mysql the 2 factor authentication wpmudev, Defender

Disable, reset or remove mysql 2 factor authentication wpmudev, Defender the plugin installed on WordPress

After active this option: “You are required to setup two-factor authentication to use this site.”

Follow the procedure
1. Install the Verification app
2. Scan the barcode
3. Enter passcode
Enter the 6 digit passcode that is shown on your device into the input field below and hit “Verify”.
But for any reason it was working to verify the code.
The option you are
1- Delete the plugin via ftp or file manger, but unfortunately that will not solve the issue because the configuration will remain on the database.
2- This option is best solution, access to your database search the wp_options(it depends the extension of your, but name should end _options) search for wd_2auth_setting:

SELECT * FROM `wp_options` WHERE `option_name` LIKE ‘%wd_2auth_settings%’

Configuration of wd_2auth_settings:


a:12:{s:7:"enabled";s:1:"1";s:9:"lostPhone";b:1;s:9:"forceAuth";b:0;s:13:"forceAuthMess";s:69:"You are required to setup two-factor authentication to use this site.";s:9:"userRoles";a:0:{}s:14:"forceAuthRoles";a:0:{}s:13:"customGraphic";i:0;s:16:"customGraphicURL";s:94:"https://smarttechno.co.uk/wp-content/plugins/defender-security/assets/img/2factor-disabled.svg";s:10:"isConflict";a:0:{}s:13:"email_subject";s:0:"";s:12:"email_sender";s:0:"";s:10:"email_body";s:0:"";}

Yes delete everything, that will remove 2 factor authentication or you only change s:7:”enabled” by s:7:”disabled”;

Here is modified content:


a:12:{s:7:"disabled";s:1:"1";s:9:"lostPhone";b:1;s:9:"forceAuth";b:0;s:13:"forceAuthMess";s:69:"You are required to setup two-factor authentication to use this site.";s:9:"userRoles";a:0:{}s:14:"forceAuthRoles";a:0:{}s:13:"customGraphic";i:0;s:16:"customGraphicURL";s:94:"https://smarttechno.co.uk/wp-content/plugins/defender-security/assets/img/2factor-disabled.svg";s:10:"isConflict";a:0:{}s:13:"email_subject";s:0:"";s:12:"email_sender";s:0:"";s:10:"email_body";s:0:"";}


When you will update your dashboard, you should now is not active:

ow to reset Two Factor Auth settings using