Merge pull request #40 from cblanc/staging_session

Set new session store name and domain for staging
This commit is contained in:
simplefl 2015-08-15 19:49:26 +02:00
commit 7a6bd18d1a

View file

@ -63,5 +63,5 @@ Ensl::Application.configure do
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"
config.session_store :cookie_store, key: "_ENSL_session_key_staging", expire_after: 30.days.to_i, domain: ".staging.ensl.org"
end