mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 07:06:34 +00:00
Let's not leak
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: Path: %s",
|
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t",
|
||||||
id.SessionId(), id.UserName(), id.Authenticated(), r.RequestURI)
|
id.SessionId(), id.UserName(), id.Authenticated())
|
||||||
|
|
||||||
h := r.Header.Get("X-Forwarded-For")
|
h := r.Header.Get("X-Forwarded-For")
|
||||||
if h != "" {
|
if h != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user