Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed small bug in parts.auth.formfields.AuthenticationForm

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d022cd48fd4e193108c1b4785d3bdc2fe0e22e8 1 parent 659ab98
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/parts/auth/
2  django/parts/auth/
@@ -23,7 +23,7 @@ def __init__(self, request=None):
self.user_cache = None
def hasCookiesEnabled(self, field_data, all_data):
- if self.request and not self.request.test_cookie_worked():
+ if self.request and not self.request.session.test_cookie_worked():
raise validators.ValidationError, "Your Web browser doesn't appear to have cookies enabled. Cookies are required for logging in."
def isValidUser(self, field_data, all_data):

0 comments on commit 7d022cd

Please sign in to comment.
Something went wrong with that request. Please try again.