mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-27 14:36:36 +00:00
Add request uri for better debugging
This commit is contained in:
@@ -25,8 +25,8 @@ func EnrichContext(next http.Handler) http.Handler {
|
||||
}
|
||||
}
|
||||
|
||||
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t",
|
||||
id.SessionId(), id.UserName(), id.Authenticated())
|
||||
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t: Path: %s",
|
||||
id.SessionId(), id.UserName(), id.Authenticated(), r.RequestURI)
|
||||
|
||||
h := r.Header.Get("X-Forwarded-For")
|
||||
if h != "" {
|
||||
|
||||
Reference in New Issue
Block a user