Allow login of simpleSecurityObjects
This commit is contained in:
2
reset.go
2
reset.go
@@ -51,7 +51,7 @@ func resetPassword(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// Search the dn of the given user
|
||||
dn, err := conn.SearchDN(r.PostFormValue("login"))
|
||||
dn, err := conn.SearchDN(r.PostFormValue("login"), true)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
base["error"] = err.Error()
|
||||
|
||||
Reference in New Issue
Block a user