-
- Downloads
Remove password and password_confirmation from whitelisted params in...
Remove password and password_confirmation from whitelisted params in ProfilesController to prevent password from being changed without previous password being provided
Showing
- app/controllers/profiles_controller.rb 0 additions, 2 deletionsapp/controllers/profiles_controller.rb
- changelogs/unreleased/security-users-can-update-their-password-without-entering-current-password.yml 5 additions, 0 deletions...date-their-password-without-entering-current-password.yml
- spec/controllers/profiles_controller_spec.rb 13 additions, 0 deletionsspec/controllers/profiles_controller_spec.rb
Please register or sign in to comment