diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index f100daaa..85a1b3fc 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -170,7 +170,7 @@ OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_endpoint }}" # The default role assigned to users OPENSTACK_KEYSTONE_DEFAULT_ROLE = "{{ horizon_default_role_name }}" -{% if keystone_sp is defined %} +{% if keystone_sp is defined and keystone_sp != {} -%} # Enables keystone web single-sign-on if set to True. WEBSSO_ENABLED = True