class Devise::Strategies::Authenticatable

def valid_password?

on this method for validating that a given password is correct.
the database. It only checks if the password is *present*. Do not rely
ensure that the password in the params matches the password stored in
Note: unlike `Model.valid_password?`, this method does not actually
def valid_password?
  password.present?
end