Implementing Activate User
This commit is contained in:
parent
dbac1238f9
commit
c91bb08340
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue