You can query for the given email and get the username, then getting the username do normal Django authentication.
On Thu 1 Nov, 2018, 5:39 PM Ryan Shepard <[email protected] wrote: > How could i go about allowing people to also use their email to sign into > Django instead of a username? I have done research my self and tried > creating my own backend for it. But it doesn't work. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d6046362-5149-4edf-adc8-273547213748%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d6046362-5149-4edf-adc8-273547213748%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADkC3UNVYaoHQj%2BztQK4R7XYW2SW1w1W9NtcSjnUmvg7asiEhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

