Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of error handling for invalid parameters on controller actions #2241

Open
20wildmanj opened this issue Oct 25, 2024 · 0 comments
Open

Comments

@20wildmanj
Copy link
Contributor

The following actions don't have proper error checking if an invalid parameter is provided:

  • users/change_password_for_user
  • users/update_password_for_user
  • users/update_display_settings

Note from Chaskiel:
Note that there should be some better error handling in those methods. Sending a bad user :id results in a form rendering error - there's no nil check for the user lookup in change_password_for_user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant