module ApiBlocks::Doorkeeper::Passwords::User
Public Instance Methods
send_reset_password_instructions(application = nil)
click to toggle source
Resets reset password token and send reset password instructions by email. Returns the token sent in the e-mail.
# File lib/api_blocks/doorkeeper/passwords/user.rb, line 21 def send_reset_password_instructions(application = nil) token = set_reset_password_token send_reset_password_instructions_notification(token, application) token end
send_reset_password_instructions_notification(token, application = nil)
click to toggle source
# File lib/api_blocks/doorkeeper/passwords/user.rb, line 30 def send_reset_password_instructions_notification(token, application = nil) send_devise_notification( :reset_password_instructions, token, application ) end