Compare commits

...

2 Commits

Author SHA1 Message Date
luiz 29dd3bb2bb Merge pull request 'Remove unnecessary logging' (#4) from bugfix/removeLog into main
Reviewed-on: #4
2024-10-29 09:45:14 +00:00
Luiz Vasconcelos 918cc5713d Remove unnecessary logging 2024-10-29 10:43:15 +01:00
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))