Skip to content

Commit

Permalink
Don't use secure sessions in containers
Browse files Browse the repository at this point in the history
This allows us to use http inside the application and move the SSL logic
to the route
  • Loading branch information
bdunne committed Aug 15, 2017
1 parent 947ff80 commit ef29796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/session_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ef29796

Please sign in to comment.