Auth views should allow form customization
|Reported by:||Julien Phalip||Owned by:||Julien Phalip|
|Cc:||philipe.rp@…, Dave Naffziger, bthomas@…, Freark van der Bos, steph, graham@…, michel@…, ben@…, MonteDavidoff, bas@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It is possible to make your own authentication backend. However, if you want to authenticate with usernames longer than 30 characters (e.g. emails) you cannot rely on the login view, since it's bound to use the AuthenticationForm, which itself only allows 30 characters usernames. You could easily find a way around if only the form was customizable.
Curiously, some views already allow form customization --
password_reset -- but the others don't --
password_change --. The attached patch fixes the latter.
Change History (19)
comment:1 Changed 8 years ago by
|milestone:||1.0 → 1.0 maybe|
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|