Tidy up previous commits.

This commit is contained in:
José Valim
2011-03-30 15:35:38 +02:00
parent d23a7ca8d5
commit ed51fc7636
6 changed files with 29 additions and 15 deletions

View File

@@ -119,6 +119,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.
config.reset_password_within = 2.hours
# ==> Configuration for :encryptable
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
# :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,