1
0
Fork 0
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:
Leonardo Tegon 2018-11-23 13:26:26 -02:00
parent 5f62f28d6e
commit 52b24e41de
No known key found for this signature in database
GPG key ID: A2A555407E152BD3

View file

@ -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