From c91bb083403f62f1834e7e73f9a50d629cffe397 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Fri, 21 Jul 2023 09:15:54 +0200 Subject: [PATCH] Implementing Activate User --- http-utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http-utils.go b/http-utils.go index eb62026..3a2045e 100644 --- a/http-utils.go +++ b/http-utils.go @@ -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) }) }