mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-17 22:13:50 +02:00
Let's not leak
This commit is contained in:
parent
9c6d056d69
commit
d76ccf324a
1 changed files with 2 additions and 2 deletions
|
@ -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 != "" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue