This commit is contained in:
Chris Mann 2023-07-21 16:40:28 +02:00
parent 6240adbc08
commit 95106601d9
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,6 @@ package main
import ( import (
"crypto/tls" "crypto/tls"
"log"
"net" "net"
"net/http" "net/http"
@ -15,7 +14,7 @@ import (
func logRequest(handler http.Handler) http.Handler { func logRequest(handler http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 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) handler.ServeHTTP(w, r)
}) })
} }

View file

@ -21,7 +21,7 @@
</a> </a>
</td> </td>
<td> <td>
{{$user.GetAttributeValue "cn"}} <a href="/admin/ldap/{{$user.DN}}">{{$user.GetAttributeValue "cn"}}</a>
</td> </td>
<td>{{$user.GetAttributeValue "mail"}}</td> <td>{{$user.GetAttributeValue "mail"}}</td>
<td>{{$user.GetAttributeValue "displayName"}}</td> <td>{{$user.GetAttributeValue "displayName"}}</td>