summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack_auth/forms.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py
index 2c8092c..8c1fcee 100644
--- a/openstack_auth/forms.py
+++ b/openstack_auth/forms.py
@@ -98,7 +98,6 @@ class Login(django_auth_forms.AuthenticationForm):
msg = 'Login failed for user "%(username)s".' % \
{'username': username}
LOG.warning(msg)
- self.request.session.flush()
raise forms.ValidationError(exc)
if hasattr(self, 'check_for_test_cookie'): # Dropped in django 1.7
self.check_for_test_cookie()