summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/identity/users/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/identity/users/tabs.py')
-rw-r--r--openstack_dashboard/dashboards/identity/users/tabs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack_dashboard/dashboards/identity/users/tabs.py b/openstack_dashboard/dashboards/identity/users/tabs.py
index bd47925a5..ca6f71c64 100644
--- a/openstack_dashboard/dashboards/identity/users/tabs.py
+++ b/openstack_dashboard/dashboards/identity/users/tabs.py
@@ -76,11 +76,13 @@ class OverviewTab(tabs.Tab):
def get_context_data(self, request):
user = self.tab_group.kwargs['user']
+ options = getattr(user, 'options', {})
return {
"user": user,
"domain_name": self._get_domain_name(user),
'extras': self._get_extras(user),
'project_name': self._get_project_name(user),
+ 'lock_password': options.get('lock_password', False),
}