You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wp_login hook is not firing after a successful login for users with a two-factor option enabled when using a fresh installation with only Two Factor installed.
Steps to Reproduce
Install WordPress
Install Two Factor
Enable Email 2FA for the user and log out
Add this code to the top of the functions.php file of the twentytwentyfour theme:
I take it back, this probably happens because of the wp_login hook priority. We're adding it at 10 and then showing the two factor screen afterwards with an exit at the end:
Describe the bug
The
wp_login
hook is not firing after a successful login for users with a two-factor option enabled when using a fresh installation with only Two Factor installed.Steps to Reproduce
functions.php
file of thetwentytwentyfour
theme:wp_login
message, and there are no other error messages.Environment information
Please confirm that you have searched existing issues in this repository.
Yes
Please confirm that you have tested with all plugins deactivated except Two-Factor.
Yes
The text was updated successfully, but these errors were encountered: