Merge pull request 'Remove unnecessary logging' (#4) from bugfix/removeLog into main

Reviewed-on: #4
This commit is contained in:
luiz 2024-10-29 09:45:14 +00:00
commit 29dd3bb2bb
1 changed files with 0 additions and 2 deletions

View File

@ -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))