Module: ActiveAuthentication::Model::Recoverable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_authentication/model/recoverable.rb
Instance Method Summary collapse
Instance Method Details
#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 |