Verifies whether a password (ie from sign in) is the user password.
Returns:
(Boolean)
71
72
73
# File 'lib/devise/models/database_authenticatable.rb', line 71defvalid_password?(password)Devise::Encryptor.compare(self.class,encrypted_password,password)end