Skip to content

Commit

Permalink
Avoid logging headers
Browse files Browse the repository at this point in the history
  • Loading branch information
legege committed Mar 19, 2023
1 parent ffb49c0 commit fa75efd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (j *JWT) ServeHTTP(res http.ResponseWriter, req *http.Request) {

// Inject header as proxypayload or configured name
req.Header.Add(j.payloadHeader, payload)
fmt.Println(req.Header)
j.next.ServeHTTP(res, req)
} else {
http.Error(res, "Not allowed", http.StatusUnauthorized)
Expand Down

0 comments on commit fa75efd

Please sign in to comment.