debug password

This commit is contained in:
CHIEFSOFT\ameye
2024-12-08 17:58:05 -05:00
parent f4d018c6e0
commit 85776af561
@@ -8,6 +8,7 @@ def validate(data, regex):
def validate_password(password: str):
"""Password Validator"""
print(password)
reg = r"\b^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!#%*?&]{8,20}$\b"
return validate(password, reg)