From 542dcdaaeb4fd675b47b7c2f5a84457d260605a0 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Fri, 2 Jun 2023 17:31:39 +0200 Subject: [PATCH] change default timeout for devise --- 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 699a431fe..391411972 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -188,7 +188,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 = Rails.env.development? ? 30.days : 30.minutes + config.timeout_in = Rails.env.development? ? 30.days : 60.minutes # ==> Configuration for :lockable # Defines which strategy will be used to lock an account. -- GitLab