From 429bb277e9f6065f234653de0369ce010ebbbd7f Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 18 Jun 2020 15:13:41 -0400 Subject: [PATCH] Updated reset_password_within expiration to 24 hours MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - reset_password_within expiration 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 cd9bacf6..df8390be 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -271,7 +271,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 = 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.