This commit is contained in:
laodaming 2023-11-17 18:37:19 +08:00
parent 57fc586eb8
commit a359975d51

View File

@ -69,7 +69,7 @@ func (l *UpdateLdapUserLogic) UpdateLdapUser(req *types.UpdateLdapUserReq, useri
//验证旧的密码 //验证旧的密码
//加密新的密码 //加密新的密码
//赋值属性 //赋值属性
attr["userPassword"] = []string{""} //attr["userPassword"] = []string{""}
} }
err := ldapServer.Update(req.UserDN, attr) err := ldapServer.Update(req.UserDN, attr)
if err != nil { if err != nil {