Skip to content

Commit

Permalink
delete log in token handler
Browse files Browse the repository at this point in the history
  • Loading branch information
zier committed May 17, 2018
1 parent b26a3d4 commit b75ffd6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions oauth2/token/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"fmt"

"github.com/plimble/clover/oauth2"
"go.uber.org/zap"
)

type ProcessFunc func(req *TokenHandlerRequest) (TokenHandlerResponse, error)
Expand Down Expand Up @@ -62,11 +61,6 @@ func (h *TokenHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}

res, err := h.RequestToken(req)
oauth2.Logger.Info("RequestToken",
zap.Any("TokenHandlerRequest", req),
zap.Any("TokenHandlerResponse", res),
zap.Any("error", err),
)
if err != nil {
oauth2.WriteJsonError(w, err)
return
Expand Down

0 comments on commit b75ffd6

Please sign in to comment.