-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Allow logging in with phone number, email or username #206
Comments
We can just make such occurrence obsolete by putting regex in place which ensure that user can't put an email address or mobile number(a username should contain atleast one alphabet) in username field. We should explore whether django-allauth could do the heavy lifting for us instead of creating our own authentication backend. |
@pandafy we want to able to put an |
Thanks for clearing out @NoumbissiValere 😄 |
@pandafy changing the authentication backend is the standard practice, why do you think is better doing it differently? |
Closes #206 Co-authored-by: Federico Capoano <federico.capoano@gmail.com>
Right now is only possible to log in with the username, but nowadays email and phone numbers are widely used.
We need to create an authentication backend that allows authenticating with any of the following:
And of course, password.
Important points:
The text was updated successfully, but these errors were encountered: