Fix session isssues (#730)

This commit is contained in:
shawn-higgins1 2019-08-07 15:47:05 -04:00 committed by Jesus Federico
parent 6d6ac3efdd
commit 921f252223
2 changed files with 3 additions and 2 deletions

View File

@ -2,9 +2,10 @@
# Be sure to restart your server when you modify this file. # Be sure to restart your server when you modify this file.
# The key base was updated as part of 2.3
if Rails.configuration.loadbalanced_configuration if Rails.configuration.loadbalanced_configuration
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session', Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session',
domain: ENV['GREENLIGHT_SESSION_DOMAIN'] || 'blindside-dev.com' domain: ENV['GREENLIGHT_SESSION_DOMAIN'] || 'blindside-dev.com'
else else
Rails.application.config.session_store :cookie_store, key: '_greenlight-2_0_session' Rails.application.config.session_store :cookie_store, key: '_greenlight-2_3_session'
end end