diff options
author | Sytse Sijbrandij <sytse@gitlab.com> | 2015-01-23 21:55:12 +0300 |
---|---|---|
committer | Sytse Sijbrandij <sytse@gitlab.com> | 2015-01-23 21:55:12 +0300 |
commit | 31bf578d67620dfc904ff2f980788fe38ee9ca92 (patch) | |
tree | ac8d443eb996987a6f7055efb500d1736f35330e /config | |
parent | c6e24850a3ad662d82f8e0812eb2a38df4f43c13 (diff) |
Increase password reset timeout since other people trigger it when they create an account for you.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/devise.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index c6eb3e51036..79abe3c695d 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -145,7 +145,8 @@ 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 = 2.hours + # When someone else invites you to GitLab this time is also used so it should be pretty long. + config.reset_password_within = 2.days # ==> Configuration for :encryptable # Allow you to use another encryption algorithm besides bcrypt (default). You can use |