Permalink
Browse files

Removed AuthenticationForm.check_for_test_cookie() as per deprecation…

… TL.
  • Loading branch information...
1 parent 4f6be9a commit f02a703ca6867806fbef71dd8d64d9a19975fe6c @ramiro ramiro committed Jun 28, 2013
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

0 comments on commit f02a703

Please sign in to comment.