Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 09:15:54 +02:00
parent dbac1238f9
commit c91bb08340

View file

@ -6,6 +6,7 @@ package main
import (
"crypto/tls"
"log"
"net/http"
"github.com/go-ldap/ldap/v3"
@ -13,7 +14,7 @@ import (
func logRequest(handler http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
// log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, r.URL)
log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, r.URL)
handler.ServeHTTP(w, r)
})
}