Fix missing region field on WebSSO setup
Change-Id: Id79491ba8097e0bf854725470498d86641638fed Closes-Bug: #1490772
This commit is contained in:
parent
69da81dacd
commit
3a501397ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user