From d76ccf324a53f1ae555c2eff7ce37fca02f0320b Mon Sep 17 00:00:00 2001
From: Bolke de Bruin <bolke@xs4all.nl>
Date: Fri, 12 Apr 2024 12:44:07 +0200
Subject: [PATCH] Let's not leak

---
 cmd/rdpgw/web/context.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/rdpgw/web/context.go b/cmd/rdpgw/web/context.go
index 070d5fb..af8e2d3 100644
--- a/cmd/rdpgw/web/context.go
+++ b/cmd/rdpgw/web/context.go
@@ -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 != "" {
-- 
GitLab