Method: Authlogic::ActsAsAuthentic::Password::Methods::InstanceMethods#reset_password!

Defined in:
lib/authlogic/acts_as_authentic/password.rb

#reset_password!Object Also known as: randomize_password!

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



278
279
280
281
# File 'lib/authlogic/acts_as_authentic/password.rb', line 278

def reset_password!
  reset_password
  save_without_session_maintenance(:validate => false)
end