Skip to content

Commit

Permalink
Do not return resource data on password reset request
Browse files Browse the repository at this point in the history
  • Loading branch information
biomancer committed Jan 13, 2017
1 parent 95b514b commit 371d206
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/devise_token_auth/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def render_create_error_not_allowed_redirect_url
def render_create_success
render json: {
success: true,
data: resource_data,
message: I18n.t("devise_token_auth.passwords.sended", email: @email)
}
end
Expand Down

0 comments on commit 371d206

Please sign in to comment.