Login Throws Error After 2 Factor is Setup
-
Myself and some other uses have been getting an error message upon trying to login to our site with this plugin. As soon as you enter the 2 factor code you get the generic WordPress site error screen.
This seems to have started randomly, can be temporarily alleviated by deleting 2 factor on a user and re-setting it up.
The WordPress version is 6.0.2
Site is NOT a multisite
The PHP version is 7.4
Plugin version is 2.3.0
The 2 factor method me and the other users are using is through an authenticator app
If there is any other info that would be helpful please let me know and I will follow up with it, thank you!
Here are the contents of the error:
An error of type E_ERROR was caused in line 291 of the file /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php. Error message: Uncaught Exception: Invalid characters in the base32 string. in /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php:291 Stack trace: #0 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(255): WP2FA\Authenticator\Authentication::base32_decode('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...') #1 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(234): WP2FA\Authenticator\Authentication::calc_totp('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...', 55499463.6) #2 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(903): WP2FA\Authenticator\Authentication::is_valid_authcode('}F;.\x17VM\xDE\xBB\xF3\x8A]\xC9[\xE6...', '99609912') #3 /nas/content/live/zolacreative/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-login.php(719): WP2FA\Authenticator\Login::validate_totp_authentication(O
The topic ‘Login Throws Error After 2 Factor is Setup’ is closed to new replies.