Merge pull request #37 from cblanc/enable_session_store_on_gathers

Enable session store across gather domains
This commit is contained in:
simplefl 2015-08-12 09:43:31 +02:00
commit 07df9a8db6
2 changed files with 6 additions and 0 deletions

View file

@ -61,4 +61,7 @@ Ensl::Application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
# Custom Session Store config to allow gathers.staging.ensl.org
config.session_store :cookie_store, key: '_ENSL_session_key', expire_after: 30.days.to_i, domain: "gathers.ensl.org"
end

View file

@ -61,4 +61,7 @@ Ensl::Application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
# Custom Session Store config to allow gathers.staging.ensl.org
config.session_store :cookie_store, key: '_ENSL_session_key', expire_after: 30.days.to_i, domain: "gathers.staging.ensl.org"
end