Use self. just to stay in the same pattern.
This commit is contained in:
parent
b3fd742aea
commit
b4707c2bae
|
@ -71,7 +71,7 @@ module Devise
|
||||||
|
|
||||||
# Digests the password using the configured encryptor.
|
# Digests the password using the configured encryptor.
|
||||||
def password_digest(password)
|
def password_digest(password)
|
||||||
self.class.encryptor_class.digest(password, self.class.stretches, password_salt, self.class.pepper)
|
self.class.encryptor_class.digest(password, self.class.stretches, self.password_salt, self.class.pepper)
|
||||||
end
|
end
|
||||||
|
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
|
|
Loading…
Reference in New Issue