yangdamao 1 月之前
父节点
当前提交
055f7d68eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhichen-admin/src/main/java/com/zhichen/controller/system/SysProfileController.java

+ 1 - 1
zhichen-admin/src/main/java/com/zhichen/controller/system/SysProfileController.java

@@ -96,7 +96,7 @@ public class SysProfileController extends BaseController
         {
             return AjaxResult.error("修改密码失败,旧密码错误");
         }
-        if(!ToolsUtils.verifEasyPwd(newPassword)){
+        if(!ToolsUtils.verifPwd(newPassword)){
             throw new CustomException("密码应由8-16位数字、大小写字母、符号组成");
         }
         if (SecurityUtils.matchesPassword(newPassword, password))