From a359975d5152f2430ae254389b561f762a1ee032 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 17 Nov 2023 18:37:19 +0800 Subject: [PATCH] fix --- server/ldap-admin/internal/logic/updateldapuserlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {