#10166: Cookie test fails in login() view
-------------------------------------+--------------------------------------
Reporter: iakbar | Owner: nobody
Status: new | Milestone:
Component: Authentication | Version: 1.0
Resolution: | Keywords: authentication, cookie,
login
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by nanotube):
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
The fix is simple. Line 21 of the default django.contrib.auth.views file
(of the 1.0.2 release) should be :
form = AuthenticationForm(data=request.POST, request=request)
instead of
form = AuthenticationForm(data=request.POST)
--
Ticket URL: <http://code.djangoproject.com/ticket/10166#comment:2>
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
-~----------~----~----~----~------~----~------~--~---