Allow login of simpleSecurityObjects

This commit is contained in:
Pierre-Olivier Mercier
2021-09-15 12:13:09 +02:00
parent 5643713c54
commit e5046b108b
5 changed files with 28 additions and 10 deletions

View File

@@ -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()