From 95106601d9224804fed6558defdb631b5cdc102d Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Fri, 21 Jul 2023 16:40:28 +0200 Subject: [PATCH] Design --- http-utils.go | 3 +-- templates/admin_activate.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/http-utils.go b/http-utils.go index 832996f..6cae84e 100644 --- a/http-utils.go +++ b/http-utils.go @@ -6,7 +6,6 @@ package main import ( "crypto/tls" - "log" "net" "net/http" @@ -15,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) }) } diff --git a/templates/admin_activate.html b/templates/admin_activate.html index fde4f46..e3d670c 100644 --- a/templates/admin_activate.html +++ b/templates/admin_activate.html @@ -21,7 +21,7 @@ - {{$user.GetAttributeValue "cn"}} + {{$user.GetAttributeValue "cn"}} {{$user.GetAttributeValue "mail"}} {{$user.GetAttributeValue "displayName"}}