From c8b2c10dcfa4439bdde0a199b315bf97e8996c4a Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 8 Feb 2022 18:12:53 +0000 Subject: [PATCH] Time out logged in session after 1 day --- 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 de41a7b75..d377aacd0 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -189,7 +189,7 @@ Devise.setup do |config| # ==> Configuration for :timeoutable # The time you want to timeout the user session without activity. After this # time the user will be asked for credentials again. Default is 30 minutes. - # config.timeout_in = 30.minutes + config.timeout_in = 1.day # ==> Configuration for :lockable # Defines which strategy will be used to lock an account.