renderjson:{error:'This method is only available to the application the user originally signed-up with'},status:403unlesscurrent_user&¤t_user.created_by_application_id==doorkeeper_token.application_id
renderjson:{error:'This method is only available while the e-mail is awaiting confirmation'},status:403unless!current_user.confirmed?||current_user.unconfirmed_email.present?