Skip to content

Enforce File Upload Restrictions for HR Document Submission #1141

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

Closed
wants to merge 5 commits into from

Conversation

chetnadev
Copy link
Contributor

This code verifies that any document uploaded for a specific HR task adheres to defined criteria: it must be in JPG or JPEG format and cannot exceed 2 MB in size. If either requirement is not met, the upload is stopped, and a relevant error message is presented to the user, ensuring data integrity during the process.

@earlduque
Copy link
Contributor

Thanks for your submission. It appears that this pull request contains more files than described in the title. Please review and update the pull request to either remove the extra/unintended files or to update the description to be more comprehensive. Ensure your contributions are meaningful and adhere to the project’s standards. [If applicable: You can create a new branch on your forked repository to avoid accidental inclusions of new commits in the future.]. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

@earlduque earlduque closed this Oct 5, 2024
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