From 918cc5713dca0f877a71bee560aeff6e18b7d9c4 Mon Sep 17 00:00:00 2001 From: Luiz Vasconcelos Date: Tue, 29 Oct 2024 10:43:15 +0100 Subject: [PATCH] Remove unnecessary logging --- middleware.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/middleware.go b/middleware.go index 66653e1..f50c9e0 100644 --- a/middleware.go +++ b/middleware.go @@ -2,7 +2,6 @@ package cauth import ( "context" - "fmt" "github.com/lestrrat-go/jwx/jwk" "log" "net/http" @@ -40,7 +39,6 @@ func (m *Middleware) AddUserInfo(next http.Handler) http.Handler { return } userInfo := session.Values["user_info"] - fmt.Println(userInfo) ctx := context.WithValue(r.Context(), userContextKey, userInfo) next.ServeHTTP(w, r.WithContext(ctx)) -- 2.40.1