From ef2979662b3b7895714ccdf827362d253d2aa9b6 Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Tue, 15 Aug 2017 17:12:35 -0400 Subject: [PATCH] Don't use secure sessions in containers This allows us to use http inside the application and move the SSL logic to the route --- config/initializers/session_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 25d9e6a9f7d..5f6f26de34a 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -10,7 +10,7 @@ session_options = {} if MiqEnvironment::Command.is_appliance? - session_options[:secure] = true + session_options[:secure] = true unless MiqEnvironment::Command.is_container? session_options[:httponly] = true end