Design
This commit is contained in:
parent
6240adbc08
commit
95106601d9
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{$user.GetAttributeValue "cn"}}
|
||||
<a href="/admin/ldap/{{$user.DN}}">{{$user.GetAttributeValue "cn"}}</a>
|
||||
</td>
|
||||
<td>{{$user.GetAttributeValue "mail"}}</td>
|
||||
<td>{{$user.GetAttributeValue "displayName"}}</td>
|
||||
|
|
Loading…
Reference in a new issue