diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py index 3a92ed18..97a8bbf3 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