Browse Source

Merge "trivial: Remove dead code"

tags/16.0.0.0b2
Zuul 1 week ago
parent
commit
afdfaef879
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      openstack_auth/forms.py

+ 0
- 2
openstack_auth/forms.py View File

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

Loading…
Cancel
Save