From 8b2fc0f8b4b7c5cf49904c027bb60515c1a4591f Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Thu, 25 Jan 2018 12:11:42 +0100 Subject: [PATCH] Increase password creation delay --- 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 c365fd228..cc417f2da 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -189,7 +189,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 = 6.hours + config.reset_password_within = 7.days # ==> Configuration for :encryptable # Allow you to use another encryption algorithm besides bcrypt (default). You can use