mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Merge pull request #40 from cblanc/staging_session
Set new session store name and domain for staging
This commit is contained in:
commit
85026b9a7c
1 changed files with 1 additions and 1 deletions
|
@ -63,5 +63,5 @@ Ensl::Application.configure do
|
||||||
config.active_support.deprecation = :notify
|
config.active_support.deprecation = :notify
|
||||||
|
|
||||||
# Custom Session Store config to allow gathers.staging.ensl.org
|
# 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"
|
config.session_store :cookie_store, key: "_ENSL_session_key_staging", expire_after: 30.days.to_i, domain: ".staging.ensl.org"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue