fix
This commit is contained in:
parent
57fc586eb8
commit
a359975d51
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user