diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-09-01 20:05:58 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-09-01 20:05:58 +0000 |
commit | 87f2158899ddea28fb6e8387889a29ee4d026fd9 (patch) | |
tree | 23423dab68511e54de3d30b5ca4913c90cae3813 | |
parent | 7fcef93852d77616ea738464a46f83ac0210ee90 (diff) | |
parent | 3a501397ac2273742bfd6c187c3871a08cf98686 (diff) | |
download | django_openstack_auth-87f2158899ddea28fb6e8387889a29ee4d026fd9.tar.gz |
Merge "Fix missing region field on WebSSO setup"
-rw-r--r-- | openstack_auth/forms.py | 3 |
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 |