diff --git a/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html b/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html index 390293c9..ae031594 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html @@ -270,7 +270,7 @@ }, newPassword: { required: "请输入新密码", - minlength: "密码不能小于6个字符", + minlength: "密码不能小于5个字符", maxlength: "密码不能大于20个字符" }, confirmPassword: { diff --git a/ruoyi-admin/src/main/resources/templates/system/user/profile/resetPwd.html b/ruoyi-admin/src/main/resources/templates/system/user/profile/resetPwd.html index 815f0af3..e8886a06 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/profile/resetPwd.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/profile/resetPwd.html @@ -69,7 +69,7 @@ }, newPassword: { required: "请输入新密码", - minlength: "密码不能小于6个字符", + minlength: "密码不能小于5个字符", maxlength: "密码不能大于20个字符" }, confirmPassword: {