Fix missing region field on WebSSO setup

Change-Id: Id79491ba8097e0bf854725470498d86641638fed
Closes-Bug: #1490772
This commit is contained in:
lin-hua-cheng 2015-08-31 16:45:32 -07:00
parent 69da81dacd
commit 3a501397ac

View File

@ -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