Merge "trivial: Remove dead code"

This commit is contained in:
Zuul 2019-09-11 04:46:54 +00:00 committed by Gerrit Code Review
commit afdfaef879
1 changed files with 0 additions and 2 deletions

View File

@ -158,6 +158,4 @@ class Login(django_auth_forms.AuthenticationForm):
{'username': username, 'domain': domain,
'remote_ip': utils.get_client_ip(self.request)})
raise forms.ValidationError(exc)
if hasattr(self, 'check_for_test_cookie'): # Dropped in django 1.7
self.check_for_test_cookie()
return self.cleaned_data