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 ff48c80dbf
commit 8544e46380

View file

@ -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