Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed AuthenticationForm.check_for_test_cookie() as per deprecation…

… TL.
  • Loading branch information...
commit f02a703ca6867806fbef71dd8d64d9a19975fe6c 1 parent 4f6be9a
@ramiro ramiro authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 django/contrib/auth/forms.py
View
4 django/contrib/auth/forms.py
@@ -200,10 +200,6 @@ def clean(self):
)
return self.cleaned_data
- def check_for_test_cookie(self):
- warnings.warn("check_for_test_cookie is deprecated; ensure your login "
- "view is CSRF-protected.", DeprecationWarning)
-
def get_user_id(self):
if self.user_cache:
return self.user_cache.id
Please sign in to comment.
Something went wrong with that request. Please try again.