summaryrefslogtreecommitdiff
path: root/openstack_auth/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_auth/forms.py')
-rw-r--r--openstack_auth/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py
index 3a92ed1..97a8bbf 100644
--- a/openstack_auth/forms.py
+++ b/openstack_auth/forms.py
@@ -84,8 +84,7 @@ class Login(django_auth_forms.AuthenticationForm):
choices=getattr(settings, 'WEBSSO_CHOICES', ()),
required=False,
initial=initial)
- # move auth_type to the top of the list
- fields_ordering.pop(-1)
+ # add auth_type to the top of the list
fields_ordering.insert(0, 'auth_type')
# websso is enabled, but keystone version is not supported