mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-14 05:41:00 +00:00
Enable session store across gather domains
This commit is contained in:
parent
2259791752
commit
c16903213d
2 changed files with 6 additions and 0 deletions
|
@ -61,4 +61,7 @@ Ensl::Application.configure do
|
||||||
|
|
||||||
# Send deprecation notices to registered listeners
|
# Send deprecation notices to registered listeners
|
||||||
config.active_support.deprecation = :notify
|
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
|
end
|
|
@ -61,4 +61,7 @@ Ensl::Application.configure do
|
||||||
|
|
||||||
# Send deprecation notices to registered listeners
|
# Send deprecation notices to registered listeners
|
||||||
config.active_support.deprecation = :notify
|
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
|
end
|
||||||
|
|
Loading…
Reference in a new issue