Re: [Django] #33712: Changing a default auth implementation to use email instead of username.

16 views
Skip to first unread message

Django

unread,
May 21, 2022, 3:47:36 AM5/21/22
to django-...@googlegroups.com
#33712: Changing a default auth implementation to use email instead of username.
------------------------------------+--------------------------------------
Reporter: Chathura Madusanka | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version: 4.0
Severity: Normal | Resolution: wontfix
Keywords: auth allauth | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+--------------------------------------
Description changed by Chathura Madusanka:

Old description:

> As of now(2022/5/16) almost all websites that gives login functionality
> to users Use Email + password method. But Django uses username + password
> method. I feel like that is wrong .
> So I think
>
> 1) default method should be email + password.
> 2) Email verification methods should also be included and managed by
> settings
> 3) method should be changeable by settings(uName+password ,
> email+password , uName , password ,any other)
> 4) if possible Allauth default integration (with methods like :- normal
> auth(without admin) , normal+admin auth )

New description:

As of now(2022/5/16) almost all websites that gives login functionality to
users Use Email + password method. But Django uses username + password
method. I feel like that is wrong .
So I think,

1) default method should be email + password.
2) Email verification methods should also be included and managed by
settings
3) method should be changeable by settings(uName+password , email+password
, uName , password ,any other)
4) if possible Allauth default integration (with methods like :- normal
auth(without admin) , normal+admin auth )

should be .

--

--
Ticket URL: <https://code.djangoproject.com/ticket/33712#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages