feat/fix: email format validation

This commit is contained in:
Timothy J. Baek 2024-01-02 16:22:48 -08:00
parent cbee5621c3
commit d8754b4486
3 changed files with 39 additions and 25 deletions

View file

@ -21,6 +21,7 @@ class ERROR_MESSAGES(str, Enum):
"Your session has expired or the token is invalid. Please sign in again."
)
INVALID_CRED = "The email or password provided is incorrect. Please check for typos and try logging in again."
INVALID_EMAIL_FORMAT = "The email format you entered is invalid. Please double-check and make sure you're using a valid email address (e.g., yourname@example.com)."
INVALID_PASSWORD = (
"The password provided is incorrect. Please check for typos and try again."
)