Skip to content

Commit 010f81f

Browse files
authored
Decrease reset password tokens duration to 6 hours (#361)
1 parent dad0e0a commit 010f81f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
# Time interval you can reset your password with a reset password key.
192192
# Don't put a too small interval or your users won't have the time to
193193
# change their passwords.
194-
config.reset_password_within = 2.weeks
194+
config.reset_password_within = 6.hours
195195

196196
# ==> Configuration for :encryptable
197197
# Allow you to use another encryption algorithm besides bcrypt (default). You can use

0 commit comments

Comments
 (0)