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.
251 252 253 254 |
# File 'lib/authlogic/acts_as_authentic/password.rb', line 251 def reset_password! reset_password save_without_session_maintenance(validate: false) end |