#27815 closed Bug (fixed)
contrib.auth.views.LoginView doesn't pass request object to AuthenticationForm
Reported by: | zgyarmati | Owned by: | zgyarmati |
---|---|---|---|
Component: | contrib.auth | Version: | 1.11 |
Severity: | Release blocker | Keywords: | request, LoginView, authenticate |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The request object isn't passed to the LoginView's form_class 'AuthenticationForm' and hence it's not passed to the auth backend's authenticate() method, because LoginView lacks the get_form_kwargs() method override.
Change History (6)
comment:1 by , 8 years ago
Severity: | Normal → Release blocker |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 8 years ago
Has patch: | set |
---|
comment:3 by , 8 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR