- Issue created by @BenStallings
- Merge request !6allow for email logins in the validation function β (Open) created by BenStallings
Some contrib modules, such as Email Registration β , replace the name text field in the login form with an email field. This module should be prepared to look up the user account by its email rather than by its username when that is the case.
Check the type of the field in the $form array, and if it's an email field, look up the user by mail instead of name.
make a MR
Active
1.3
Code