mitao
2024-05-17 d002ac6254ac74dbe5181733376c10dbd37bb6f0
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);
    }