From eb31693031241dc732c4b02d8e6b8b76e32a21e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Pr=C3=A9vost?= Date: Mon, 4 May 2026 15:50:30 -0400 Subject: [PATCH] Decrease reset password tokens duration to 30 minutes --- 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 2e4e29c..769839a 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -191,7 +191,7 @@ # 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 = 6.hours + config.reset_password_within = 30.minutes # ==> Configuration for :encryptable # Allow you to use another encryption algorithm besides bcrypt (default). You can use