Set new session store name and domain for staging

This commit is contained in:
Chris Blanchard 2015-08-15 18:42:44 +01:00
parent 46d0756036
commit aa49c56483

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