Closed chikatlarakesh closed 1 month ago
Please assign this task to me
you can work on it @chikatlarakesh
Please assign this task to me
@ADeshmukh80 the tasks are assigned on first come first serve basis. kindly find any other issue to work on ;)
completed under #89 hence closing
GSSoC Contributor
I have encountered several bugs in the user registration and profile update functionality of our Express application. Here’s a summary of the identified issues and proposed solutions:
1. User Registration Password Validation:
Issue: The password validation checks are overly restrictive and may prevent valid passwords. Solution: Adjust the password validation checks to ensure that users can create strong but valid passwords.
2. User Login Validation:
Issue: The user login route doesn't handle incorrect passwords gracefully. Solution: Ensure that we check for incorrect passwords and return appropriate error messages.
3. Updating User Email:
Issue: The update email route allows updating the email to an empty string without validation. Solution: Add validation to ensure the new email is not empty and follows a valid format.
4. Profile Photo Update:
Issue: The file upload feature does not handle errors properly. Solution: Add error handling for file uploads to provide clearer feedback on failures.