Closed
Description
I guess this is more a feature request than an issue.
It would be great to have by default or as a configuration the ability to make login work with username or email. As uniqueness is checked for both field, it may not imply that much change.
I think it should auto detect if email is used with an email regex. And then check the email/password combination. If the regex is not valid, then username/password combination should be checked.
I know there is a workaround for using email for login (putting email address in the username field and email field). But I don't think there is anything easy for accepting both at the same time.
Is there any plan to implement something like this ?