Skip to content

Commit

Permalink
[Bugfix]修复Ldap user.getId() NPE问题 (#1108)
Browse files Browse the repository at this point in the history
NPE solved

Co-authored-by: weidong_chang <weidong_chang@intsig.net>
  • Loading branch information
chang-wd and weidong_chang authored Aug 2, 2023
1 parent b1892c2 commit bdffc10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public UserBriefVO verifyLogin(AccountLoginDTO loginDTO,
userService.addUser(userDTO, ldapAttrsInfo.getSAMAccountName());

// user赋值
user = ConvertUtil.obj2Obj(userDTO, User.class);
user = userService.getUserByUserName(ldapAttrsInfo.getSAMAccountName());
}

// 记录登录状态
Expand Down

0 comments on commit bdffc10

Please sign in to comment.