From 7a62f7d2c916693ec8d68532eceed37cd6ec387f Mon Sep 17 00:00:00 2001 From: "Dominik M. Kwiatek" <6197148+raccube@users.noreply.github.com> Date: Thu, 25 Feb 2021 17:12:30 +0100 Subject: [PATCH] Set session duration to 90 days (#169) --- config/initializers/session_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index a83e0c70..e53685ed 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,3 +1,3 @@ # Be sure to restart your server when you modify this file. -Rails.application.config.session_store :cookie_store, key: '_justask_session' +Rails.application.config.session_store :cookie_store, key: '_justask_session', expire_after: 90.days