fix
This commit is contained in:
parent
be0a5a8e98
commit
ca5f1c4040
|
@ -42,7 +42,6 @@ func (l *UpdateLdapOrganizationLogic) UpdateLdapOrganization(req *types.UpdateLd
|
|||
}
|
||||
ldapServer := ldap_lib.NewLdap(l.svcCtx.Ldap, l.svcCtx.Config.Ldap.BaseDN, l.svcCtx.Config.Ldap.RootDN)
|
||||
if err := ldapServer.Update(req.OrganizationDN, map[string][]string{
|
||||
"cn": {req.BusinessCategory},
|
||||
"businessCategory": {req.BusinessCategory},
|
||||
}); err != nil {
|
||||
logx.Error(err)
|
||||
|
|
Loading…
Reference in New Issue
Block a user