From 25356e122e9b27d906cdc1d0b24474beeb4f5b80 Mon Sep 17 00:00:00 2001 From: Vladislav Sokov <62177364+VladislavSokov@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:48:08 +0300 Subject: [PATCH] fix(devise): add extend rememver period (#331) --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index ae1858c0..e35a7ead 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -170,7 +170,7 @@ config.expire_all_remember_me_on_sign_out = true # If true, extends the user's remember period when remembered via cookie. - # config.extend_remember_period = false + config.extend_remember_period = true # Options to be passed to the created cookie. For instance, you can set # secure: true in order to force SSL only cookies.