diff --git a/core/backend/src/main/java/io/dataease/service/sys/SysUserService.java b/core/backend/src/main/java/io/dataease/service/sys/SysUserService.java index 39dcdc5167..1f7bade9f8 100644 --- a/core/backend/src/main/java/io/dataease/service/sys/SysUserService.java +++ b/core/backend/src/main/java/io/dataease/service/sys/SysUserService.java @@ -71,6 +71,7 @@ public class SysUserService { gridExample.setExtendCondition(keyWord); List lists = extSysUserMapper.query(gridExample); lists.forEach(item -> { + item.setPassword(""); List roles = item.getRoles(); List roleIds = roles.stream().filter(ObjectUtils::isNotEmpty).map(SysUserRole::getRoleId).collect(Collectors.toList()); item.setRoleIds(roleIds);