Allow login of simpleSecurityObjects
This commit is contained in:
2
lost.go
2
lost.go
@@ -74,7 +74,7 @@ func lostPassword(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)
|
||||
displayTmplError(w, http.StatusInternalServerError, "lost.html", map[string]interface{}{"error": err.Error()})
|
||||
|
||||
Reference in New Issue
Block a user