summaryrefslogtreecommitdiff
path: root/openstack_dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard')
-rw-r--r--openstack_dashboard/dashboards/identity/users/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack_dashboard/dashboards/identity/users/forms.py b/openstack_dashboard/dashboards/identity/users/forms.py
index dc037c166..08988c872 100644
--- a/openstack_dashboard/dashboards/identity/users/forms.py
+++ b/openstack_dashboard/dashboards/identity/users/forms.py
@@ -296,8 +296,8 @@ class ChangePasswordForm(PasswordMixin, forms.SelfHandlingForm):
strip=False,
widget=forms.PasswordInput(render_value=False))
# Reorder form fields from multiple inheritance
- self.fields.keyOrder = ["id", "name", "admin_password",
- "password", "confirm_password"]
+ self.field_order = ["id", "name", "admin_password",
+ "password", "confirm_password"]
@sensitive_variables('data', 'password', 'admin_password')
def handle(self, request, data):