#27815: contrib.auth.views.LoginView doesn't pass request object to
AuthenticationForm
-------------------------------------+-------------------------------------
Reporter: zgyarmati | Owner: zgyarmati
Type: Bug | Status: assigned
Component: | Version: 1.11
contrib.auth | Keywords: request, LoginView,
Severity: Normal | authenticate
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/27815>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.9b872ce92d05161578dba196e94e06a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.