|
@@ -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))
|