fix
This commit is contained in:
parent
1a6386f7df
commit
e305da3feb
|
@ -45,13 +45,8 @@ func (l *GetLdapUserInfoLogic) GetLdapUserInfo(req *types.GetLdapUserInfoReq, us
|
|||
}
|
||||
isUser := false
|
||||
apiRsp := types.GetLdapUserInfoRsp{
|
||||
UserId: 0,
|
||||
UserDN: "",
|
||||
UserName: "",
|
||||
Email: "",
|
||||
Mobile: "",
|
||||
Avatar: "",
|
||||
Status: 0,
|
||||
UserId: 0,
|
||||
Status: 0,
|
||||
}
|
||||
for _, entry := range res.Entries {
|
||||
apiRsp.UserDN = entry.DN
|
||||
|
|
Loading…
Reference in New Issue
Block a user