mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix typo [ci skip]
This commit is contained in:
parent
5f62f28d6e
commit
52b24e41de
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module Devise
|
|||
success!(resource)
|
||||
end
|
||||
|
||||
# On paranoid mode, hash the password even when a resource doesn't exist for the given authentication key.
|
||||
# In paranoid mode, hash the password even when a resource doesn't exist for the given authentication key.
|
||||
# This is necessary to prevent enumeration attacks - e.g. the request is faster when a resource doesn't
|
||||
# exist in the database if the password hashing algorithm is not called.
|
||||
mapping.to.new.password = password if !hashed && Devise.paranoid
|
||||
|
|
Loading…
Reference in a new issue