From f3238a81d85c8840585bdc5f4c3aca28fee7a283 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Fri, 21 Dec 2018 18:52:05 -0800 Subject: [PATCH] Use correct case for WEBSSO_ENABLED config setting Horizon is picky about the case of the value used for the WEBSSO_ENABLED setting in local_settings. When enabled, it expects the value to be "True". Currently, we set it to "true", which causes Horizon to throw a 500 error when accessing the login page. This patch sets the value using the proper case. Change-Id: Ic71a6c4b50556a1820a5f86bfc5a3e5102955c7b --- templates/local_settings.py.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/local_settings.py.erb b/templates/local_settings.py.erb index ee73f3b1..a2c16fe3 100644 --- a/templates/local_settings.py.erb +++ b/templates/local_settings.py.erb @@ -308,7 +308,7 @@ OPENSTACK_KEYSTONE_DEFAULT_ROLE = "<%= @keystone_default_role %>" # "acme_saml2": ("acme", "saml2") #} <% if @websso_enabled -%> -WEBSSO_ENABLED = <%= @websso_enabled %> +WEBSSO_ENABLED = True <% end -%> <% if @websso_initial_choice -%> WEBSSO_INITIAL_CHOICE = "<%= @websso_initial_choice %>"