- Issue created by @lfersoy
- Merge request !17Issue #3489059: Fix Login Error After Exceeding Flood Control Limit → (Open) created by lfersoy
After exceeding the flood control login attempts, the login form displays the following error:
"Error: Call to a member function getAccountName() on null in Drupal\email_tfa\Form\EmailTfaLoginForm->emailTfaLoginFormRedirect()"
1. Enable the email_tfa module.
2. Attempt to log in to the site with incorrect credentials more than 5 times (depending on the user_limit attempts you have configured).
Check the $form_state->get('uid') flag within the emailTfaLoginFormRedirect method, similar to how it's handled in the parent submitForm method.
Active
2.0
Code