#10166: Cookie test fails in login() view
-------------------------------------+--------------------------------------
Reporter: iakbar | Owner: nobody
Status: new | Milestone: 1.1
Component: Authentication | Version: 1.0
Resolution: | Keywords: authentication, cookie,
login
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by whiskybar):
form = AuthenticationForm?(data=request.POST, request=request)
will enable the cookie test again. The question is, is it intended? Won't
some existing applications break? The cookie test has been virtually
disabled since [7962] which removed the argument request when
AuthenticationForm was created. AuthenticationForm logic is, the test
cookie is being checked for if and only if the {{{request}}} has been
passed in {{{__init__}}}.
--
Ticket URL: <http://code.djangoproject.com/ticket/10166#comment:4>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---