email verfication after account creation, password component, added password special characters
This commit is contained in:
@@ -8,7 +8,7 @@ const purify = DOMPurify(window);
|
||||
|
||||
// Password strength validation
|
||||
const passwordStrengthRegex =
|
||||
/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}$/;
|
||||
/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z])(?=.*[-@$!%*?&#^]).{8,}$/; //-@$!%*?&#^
|
||||
const commonPasswords = [
|
||||
"password",
|
||||
"123456",
|
||||
|
||||
Reference in New Issue
Block a user