tickets: 8274
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8274 | 2008-08-13 02:23:50 | 2010-07-05 04:39:53 | 2022-03-06 03:41:49.179051 | Ready for checkin | closed | contrib.auth | dev | fixed | Auth views should allow form customization | 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_confirm` and `password_reset` -- but the others don't -- `login` and `password_change` --. The attached patch fixes the latter. | julien | julien | 0 | 1 | 0 | 0 | 0 | 0 |