mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Add reset_password_within configuration variable.
This commit is contained in:
committed by
José Valim
parent
8a3deb98cd
commit
be2aeee70f
@@ -125,6 +125,11 @@ Devise.setup do |config|
|
||||
#
|
||||
# Defines which key will be used when recovering the password for an account
|
||||
# config.reset_password_keys = [ :email ]
|
||||
#
|
||||
# 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
|
||||
# Default to 1 hour
|
||||
config.reset_password_within = 1.hour
|
||||
|
||||
# ==> Configuration for :encryptable
|
||||
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
|
||||
|
||||
Reference in New Issue
Block a user