Fix small typo in devise_authenticatable.rb

This commit is contained in:
Alan deLevie 2014-11-05 16:51:29 -05:00
parent d67388ad98
commit 09f433691a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ module Devise
self.encrypted_password = password_digest(@password) if @password.present?
end
# Verifies whether an password (ie from sign in) is the user password.
# Verifies whether a password (ie from sign in) is the user password.
def valid_password?(password)
return false if encrypted_password.blank?
bcrypt = ::BCrypt::Password.new(encrypted_password)