Method: Devise::Models::Recoverable#send_reset_password_instructions

Defined in:
lib/devise/models/recoverable.rb

#send_reset_password_instructionsObject

Resets reset password token and send reset password instructions by email. Returns the token sent in the e-mail.


50
51
52
53
54
55
# File 'lib/devise/models/recoverable.rb', line 50

def send_reset_password_instructions
  token = set_reset_password_token
  send_reset_password_instructions_notification(token)

  token
end