Skip to content

Commit

Permalink
Whitelist :config as part of resource params as required by ng-token-…
Browse files Browse the repository at this point in the history
…auth
  • Loading branch information
Rush committed Jan 12, 2017
1 parent ab9511a commit 14c69c1
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 @@ -223,7 +223,7 @@ def render_update_error
private

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

def password_resource_params
Expand Down

0 comments on commit 14c69c1

Please sign in to comment.