diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py
index 780b0c0..84d8bbb 100644
a
|
b
|
class AuthenticationForm(forms.Form):
|
166 | 166 | return self.cleaned_data |
167 | 167 | |
168 | 168 | def check_for_test_cookie(self): |
169 | | if self.request and not self.request.session.test_cookie_worked(): |
| 169 | if self.request and self.request.method != "POST" and not self.request.session.test_cookie_worked(): |
170 | 170 | raise forms.ValidationError(self.error_messages['no_cookies']) |
171 | 171 | |
172 | 172 | def get_user_id(self): |