Merge pull request #43 from cblanc/update_production_cookie_policy

Share production ensl session store with subdomains
This commit is contained in:
simplefl 2015-08-23 21:34:42 +02:00
commit 8e2faed5ec

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.ensl.org"
config.session_store :cookie_store, key: "_ENSL_session_key", expire_after: 30.days.to_i, domain: ".ensl.org"
end