Spaces:
Sleeping
Sleeping
Hot fix
Browse files
utilities_database/user_database_utils.py
CHANGED
@@ -41,10 +41,11 @@ def check_valid_email(email_sign_up: str) -> bool:
|
|
41 |
Checks if the user entered a valid e-mail while creating the account.
|
42 |
"""
|
43 |
regex = re.compile(r'([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z|a-z]{2,})+')
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
return
|
|
|
48 |
|
49 |
|
50 |
def check_unique_email(user_log_in_database, email_sign_up: str) -> bool:
|
|
|
41 |
Checks if the user entered a valid e-mail while creating the account.
|
42 |
"""
|
43 |
regex = re.compile(r'([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z|a-z]{2,})+')
|
44 |
+
return True
|
45 |
+
|
46 |
+
# if re.fullmatch(regex, email_sign_up):
|
47 |
+
# return True
|
48 |
+
# return False
|
49 |
|
50 |
|
51 |
def check_unique_email(user_log_in_database, email_sign_up: str) -> bool:
|