debug password
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user