From cca44dd9b9eb94eea6edabc3a090a892c330d0df Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 21 Sep 2023 15:28:11 +0100 Subject: [PATCH] feat: increase reset password expiry to 24 hours --- 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 4759c94bd..df5f61df2 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -225,7 +225,7 @@ Devise.setup do |config| # Time interval you can reset your password with a reset password key. # Don't put a too small interval or your users won't have the time to # change their passwords. - config.reset_password_within = 3.hours + config.reset_password_within = 24.hours # When set to false, does not sign a user in automatically after their password is # reset. Defaults to true, so a user is signed in automatically after a reset.