2FA Not Working Properly
-
Hi Guys,
Ran into an issue this morning logging in to a website that has the Cookie based brute force and TOTP 2FA enabled. I’m able to access the login page without issue but when logging in and getting to the 2FA step the login page simply reloads. I tried in a few different browsers and in an incognito window and the same results. Sometimes I get an error “Your two factor code was incorrect” but still unable to login.
I connected via FTP and added the
define('TWO_FACTOR_DISABLE', true);line which allowed me to successfully access the WordPress Admin panel.I went to the settings and reset the private key and reconfigured the 2FA but the issue still persists if I try to login again. I double checked the 2FA code before resetting and it did match the value in my password manager.
I do notice in the JS console on the login page the following PHP notices being returned:
"PHP event: code E_DEPRECATED: Function mcrypt_get_iv_size() is deprecated (line 938, wp-content/plugins/all-in-one-wp-security-and-firewall/includes/simba-tfa/providers/totp/loader.php)""PHP event: code E_DEPRECATED: Function mcrypt_decrypt() is deprecated (line 958, wp-content/plugins/all-in-one-wp-security-and-firewall/includes/simba-tfa/providers/totp/loader.php)"Plugin version: 5.3.8
WordPress Version: 6.7.2
PHP Version: 8.1.31
Please let me know what tests or other checks I can do. I had no issue logging in to the site a month ago when I had to make some content changes, which is when I updated the plugins to the latest version as well.
Thanks!
The topic ‘2FA Not Working Properly’ is closed to new replies.