Skip to content

Commit

Permalink
[Bugfix] 修复创建历史用户判断条件 #1116
Browse files Browse the repository at this point in the history
  • Loading branch information
weidong_chang committed Aug 8, 2023
1 parent 0bdc925 commit 9754ab8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public UserBriefVO verifyLogin(AccountLoginDTO loginDTO,

// user赋值
user = userService.getUserByUserName(ldapAttrsInfo.getSAMAccountName());
} else {
// 不自动注册用户时,赋值默认id给临时用户
} else if (ValidateUtils.isNull(user)) {
// user为空,且不自动注册用户时,赋值默认id给临时用户
user = new User();
user.setId(Constant.INVALID_CODE);
}
Expand Down

0 comments on commit 9754ab8

Please sign in to comment.