members model

This commit is contained in:
CHIEFSOFT\ameye
2024-12-08 18:13:34 -05:00
parent 85776af561
commit 30b81936d6
4 changed files with 107 additions and 102 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ def validate(data, regex):
def validate_password(password: str):
"""Password Validator"""
print(password)
# print(password)
reg = r"\b^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!#%*?&]{8,20}$\b"
return validate(password, reg)