Single sign on for super admins (#648)

This commit is contained in:
shawn-higgins1
2019-07-23 14:53:48 -04:00
committed by Jesus Federico
parent 42f7d4f8d2
commit b23f94dfb5
5 changed files with 29 additions and 2 deletions

View File

@ -2,4 +2,9 @@
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session'
if Rails.configuration.loadbalanced_configuration
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session',
domain: ENV['GREENLIGHT_PARENT_DOMAIN'] || 'blindside-dev.com'
else
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session'
end