Skip to content

Commit

Permalink
Let's not leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bolkedebruin committed Apr 12, 2024
1 parent 9c6d056 commit d76ccf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/rdpgw/web/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func EnrichContext(next http.Handler) http.Handler {
}
}

log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t: Path: %s",
id.SessionId(), id.UserName(), id.Authenticated(), r.RequestURI)
log.Printf("Identity SessionId: %s, UserName: %s: Authenticated: %t",
id.SessionId(), id.UserName(), id.Authenticated())

h := r.Header.Get("X-Forwarded-For")
if h != "" {
Expand Down

0 comments on commit d76ccf3

Please sign in to comment.