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

validate image size #615

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

bmartin5692
Copy link
Contributor

Fixes an issue where users might upload an image under the minimum dimensions (500x250) during registration. This would leave their user account in an unusable state, and completely unmanageable even from the UI as an admin.

This fix validates the image size as part of the validation check, raising a validation error if the image dimensions are too small.

Fixes an issue where users might upload an image under the minimum dimensions (500x250) during registration. This would leave their user account in an unusable state, and completely unmanageable even from the UI as an admin.

This fix validates the image size as part of the validation check, raising a validation error if the image dimensions are too small.
@eljeffeg eljeffeg merged commit ee3b3e4 into moloch--:master Aug 7, 2024
2 checks passed
@bmartin5692 bmartin5692 deleted the validate_image_size branch August 7, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants