Merge pull request 'Remove unnecessary logging' (#4) from bugfix/removeLog into main
Reviewed-on: #4
This commit is contained in:
commit
29dd3bb2bb
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue