forked from open-webui/open-webui
feat/fix: email format validation
This commit is contained in:
parent
cbee5621c3
commit
d8754b4486
3 changed files with 39 additions and 25 deletions
|
@ -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."
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue