Module Authlogic::ActsAsAuthentic::Password::Methods::InstanceMethods
In: lib/authlogic/acts_as_authentic/password.rb

Methods

Public Instance methods

This is a virtual method. Once a password is passed to it, it will create new password salt as well as encrypt the password.

randomize_password()

Alias for reset_password

randomize_password!()

Alias for reset_password!

Resets the password to a random friendly token.

Resets the password to a random friendly token and then saves the record.

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 more information, but basically it just tells Authlogic to check the password against the value in the database or the value in the object.

[Validate]