-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Issue 1: Update Validation Message for Sign-In
Description:
Currently, the validation message displayed during sign-in is incorrect and misleading. When a user enters invalid credentials, the message shows "The number must contain alphanumeric characters." This needs to be changed to a more accurate message.
Tasks:
Update the validation message during sign-in to "Invalid username or password."
Ensure the message is displayed only when the entered credentials are incorrect.
Remove any irrelevant validation checks that do not pertain to sign-in, such as alphanumeric character validation.
Expected Outcome:
The user should receive a clear and accurate message ("Invalid username or password") when their sign-in credentials are incorrect.
Issue 2: Enforce Unique Username and Meaningful Validation Messages on Sign-Up
Description:
During the sign-up process, the username field currently requires alphanumeric validation, which is unnecessary. Additionally, the username should be unique. The validation messages displayed to the user should be meaningful and clear.
Tasks:
Ensure the username is unique during sign-up.
Remove the alphanumeric validation requirement for the username.
Update the validation messages to be meaningful and user-friendly.
Implement a toast message for successful sign-up.
Implement toast messages for successful and failed sign-ins.
Failed Sign-In Message:
Display "User not found" when the username does not exist.
Expected Outcome:
The sign-up process should enforce a unique username requirement, and validation messages should be clear and relevant.
Users should see appropriate toast messages after successful and failed sign-ups/sign-ins.
Issue 3: Google Authentication Logout Not Working
Description:
There is a problem with the logout functionality when using Google Authentication. After successfully logging in with Google, the user is unable to log out. Clicking the logout button does not end the session, and the user remains logged in.
Tasks:
Investigate and identify the cause of the logout failure when using Google Authentication.
Implement a fix to ensure that the logout functionality works correctly with Google Authentication.
Test the logout process thoroughly to confirm that the user session is properly terminated upon logout.
Ensure that the issue does not affect other parts of the authentication system.
Expected Outcome:
The user should be able to log out successfully after logging in with Google Authentication. Clicking the logout button should end the session and return the user to the login page


