Merge pull request #22 from mnederlof/password-retrieve-option
Enable feature OPENSTACK_ENABLE_PASSWORD_RETRIEVE in horizon
diff --git a/horizon/files/horizon_settings/_nova_settings.py b/horizon/files/horizon_settings/_nova_settings.py
index e0b7d78..93dab01 100644
--- a/horizon/files/horizon_settings/_nova_settings.py
+++ b/horizon/files/horizon_settings/_nova_settings.py
@@ -19,6 +19,10 @@
'can_set_password': False,
}
+# When set, enables the instance action "Retrieve password"
+# allowing password retrieval
+OPENSTACK_ENABLE_PASSWORD_RETRIEVE = {{ app.get('enable_password_retrieve', False) }}
+
# When launching an instance, the menu of available flavors is
# sorted by RAM usage, ascending. Provide a callback method here
# (and/or a flag for reverse sort) for the sorted() method if you'd