Method: ActiveAuthentication::Model::Recoverable#send_password_reset_instructions
- Defined in:
- lib/active_authentication/model/recoverable.rb
#send_password_reset_instructions ⇒ Object
10 11 12 13 |
# File 'lib/active_authentication/model/recoverable.rb', line 10 def send_password_reset_instructions token = generate_token_for :password_reset ActiveAuthentication::Mailer.with(token: token, user: self).password_reset_instructions.deliver end |