mitao
2024-05-17 2780d177d14b14ab2d87bcf48ff9af6d0fe18ec2
ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysLoginService.java
@@ -155,9 +155,6 @@
        if (R.FAIL == userInfo.getCode()) {
            throw new ServiceException(userInfo.getMsg());
        }
        if (!passwordService.matches(userInfo.getData().getSysUser(), password)) {
            throw new ServiceException("旧密码错误,请重新输入!");
        }
        remoteUserService.changePassword(username, SecurityUtils.encryptPassword(password),
                SecurityConstants.INNER);
    }