#7776: Test cookie isn't deleted if persistent data in Newforms-Admin login
----------------------------------------+-----------------------------------
Reporter: Mnewman | Owner: brosner
Status: assigned | Milestone: 1.0
Component: Admin interface | Version: SVN
Resolution: | Keywords: Admin auth cookies
Stage: Ready for checkin | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by anonymous):
* milestone: => 1.0
Comment:
rajeshdhawan: You can see on line 244:
{{{
if not request.session.test_cookie_worked():
message = _("Looks like your browser isn't configured to accept
cookies. Please enable cookies, reload this page, and try again.")
return self.display_login_form(request, message)
}}}
which does the same check you are purposing and short circuits long before
it reaches this code.
This is a bug in django and I am marking for 1.0 so it doesn't get
forgotten, correct me if I am wrong.
--
Ticket URL: <http://code.djangoproject.com/ticket/7776#comment:5>
Django Code <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
-~----------~----~----~----~------~----~------~--~---