Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Login Successful with Wrong Email (#271)
<!-- ISSUE & PR TITLE SHOULD BE SAME--> ## Description Fixed a bug where the login was successful even with an incorrect email format. Added a validation to ensure that the email follows a valid format before checking the password. ## Related Issues <!--Cite any related issue(s) this pull request addresses. If none, simply state “None”--> - Closes ##201 ## Type of PR <!-- Mention PR Type according to the issue in brackets below and check the below box --> - [X] (Bug Fix) ## Screenshots / videos (if applicable) <!--Attach any relevant screenshots or videos demonstrating the changes--> https://github.com/user-attachments/assets/278e0a45-86ff-437f-b72c-a21032c52e43 ## Checklist <!-- [X] - put a cross/X inside [] to check the box --> - [X] I have gone through the [contributing guide](https://github.com/Anjaliavv51/Retro) - [X] I have updated my branch and synced it with project `main` branch before making this PR - [X] I have performed a self-review of my code - [X] I have tested the changes thoroughly before submitting this pull request. - [X] I have provided relevant issue numbers, screenshots, and videos after making the changes. - [X] I have commented my code, particularly in hard-to-understand areas. ## Additional context: <!--Include any additional information or context that might be helpful for reviewers.--> The added validation ensures that incorrect email formats will no longer allow users to proceed with the login.
- Loading branch information