fix: password length 64

This commit is contained in:
jialin
2025-12-17 16:15:34 +08:00
parent bd6f4b3f76
commit da1efa9270
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ export const WatchEventType = {
};
export const PasswordReg =
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*_+])[a-zA-Z\d!@#$%^&*_+]{6,32}$/;
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*_+])[a-zA-Z\d!@#$%^&*_+]{6,64}$/;
export const uppercaseReg = /(?=.*[A-Z])/;
@@ -61,7 +61,7 @@ export const specialCharacterReg = /(?=.*[\W_])/;
export const noSpaceReg = /(?=\S+$)/;
export const lengthReg = /^.{6,32}$/;
export const lengthReg = /^.{6,64}$/;
/**
* Model name rules: