renderjson:{error:'This method is only available to the application the user originally signed-up with'},status::forbiddenunlesscurrent_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::forbiddenunless!current_user.confirmed?||current_user.unconfirmed_email.present?