添加检查密码范围支持的特殊字符包括:~!@#$%^&*()-=_+

This commit is contained in:
RuoYi
2020-10-16 10:04:51 +08:00
parent 471c8825ba
commit 64c865cc70
5 changed files with 5 additions and 5 deletions

View File

@ -366,7 +366,7 @@ function checkpwd(chrtype, password) {
}
} else if (chrtype == 4) {
if(!$.common.charValid(password)){
$.modal.alertWarning("密码必须包含字母、数字、以及特殊符号-、_");
$.modal.alertWarning("密码必须包含字母、数字、以及特殊符号<font color='red'>~!@#$%^&*()-=_+</font>");
return false;
}
}