From b4707c2baef152656ff6c7313931d1a53beaf7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 21 Jan 2010 17:03:13 +0100 Subject: [PATCH] Use self. just to stay in the same pattern. --- lib/devise/models/authenticatable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devise/models/authenticatable.rb b/lib/devise/models/authenticatable.rb index 830d3d1d..af8047e2 100644 --- a/lib/devise/models/authenticatable.rb +++ b/lib/devise/models/authenticatable.rb @@ -71,7 +71,7 @@ module Devise # Digests the password using the configured encryptor. 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 module ClassMethods