#9168 closed (duplicate)
contrib.auth login for should accept an authentication_form parameter for alternate backends
| Reported by: | Chris Beaven | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.auth | Version: | 1.0 | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
A more generic solution to #7507.
In my example, I want to use email addresses to log in with. But the current AuthenticationForm limits the username parameter to 30 characters. If the form was a parameter, the login view would be a lot more generic.
Attachments (2)
Change History (5)
by , 17 years ago
| Attachment: | authentication_form.diff added | 
|---|
comment:1 by , 17 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
comment:2 by , 17 years ago
| Resolution: | → duplicate | 
|---|---|
| Status: | new → closed | 
The patch in #8274 also takes care of the password_change. Closing as duplicate, although I made a link to this one since the docs addition is quite useful.
by , 17 years ago
| Attachment: | authentication_form.2.diff added | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    
Smiley, that patch looks good to me, but the new link in the docs are using the old style xref, instead of the new sphinx style.