Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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)

authentication_form.diff (2.2 KB ) - added by Chris Beaven 16 years ago.
authentication_form.2.diff (2.7 KB ) - added by Chris Beaven 16 years ago.

Download all attachments as: .zip

Change History (5)

by Chris Beaven, 16 years ago

Attachment: authentication_form.diff added

comment:1 by Alex Gaynor, 16 years ago

Triage Stage: UnreviewedAccepted

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.

comment:2 by Julien Phalip, 16 years ago

Resolution: duplicate
Status: newclosed

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 Chris Beaven, 16 years ago

Attachment: authentication_form.2.diff added

comment:3 by Chris Beaven, 16 years ago

Docs are now newer in #8274, just use that ticket now.

Note: See TracTickets for help on using tickets.
Back to Top