Skip to content

Commit

Permalink
Fix documentation typo: s/mor/more/
Browse files Browse the repository at this point in the history
  • Loading branch information
nilbus committed Jul 30, 2011
1 parent 2da24e4 commit 1eabbd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/authlogic/acts_as_authentic/password.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def password=(pass)
end

# Accepts a raw password to determine if it is the correct password or not. Notice the second argument. That defaults to the value of
# check_passwords_against_database. See that method for mor information, but basically it just tells Authlogic to check the password
# check_passwords_against_database. See that method for more information, but basically it just tells Authlogic to check the password
# against the value in the database or the value in the object.
def valid_password?(attempted_password, check_against_database = check_passwords_against_database?)
crypted = check_against_database && send("#{crypted_password_field}_changed?") ? send("#{crypted_password_field}_was") : send(crypted_password_field)
Expand Down Expand Up @@ -352,4 +352,4 @@ def transition_from_crypto_providers
end
end
end
end
end

0 comments on commit 1eabbd7

Please sign in to comment.