diff --git a/server/ldap-admin/internal/logic/updateldapuserlogic.go b/server/ldap-admin/internal/logic/updateldapuserlogic.go index 4a6759d7..406d1c40 100644 --- a/server/ldap-admin/internal/logic/updateldapuserlogic.go +++ b/server/ldap-admin/internal/logic/updateldapuserlogic.go @@ -69,7 +69,7 @@ func (l *UpdateLdapUserLogic) UpdateLdapUser(req *types.UpdateLdapUserReq, useri //验证旧的密码 //加密新的密码 //赋值属性 - attr["userPassword"] = []string{""} + //attr["userPassword"] = []string{""} } err := ldapServer.Update(req.UserDN, attr) if err != nil {