Skip to content

Commit

Permalink
removed unnecessary params from resource params (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maicol Bentancor authored and zachfeldman committed Nov 26, 2017
1 parent f68d87f commit 4b1f20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/devise_token_auth/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def render_update_error
private

def resource_params
params.permit(:email, :password, :password_confirmation, :current_password, :reset_password_token, :redirect_url, :config)
params.permit(:email, :reset_password_token)
end

def password_resource_params
Expand Down

0 comments on commit 4b1f20a

Please sign in to comment.