Skip to content

Commit

Permalink
oauth2: remove stray log
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) authored and arekkas committed Jan 2, 2017
1 parent c59d8a4 commit 971d7ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions oauth2/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"net/url"

"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/gorilla/sessions"
"github.com/julienschmidt/httprouter"
"github.com/ory-am/fosite"
Expand Down Expand Up @@ -129,8 +128,6 @@ func (h *Handler) TokenHandler(w http.ResponseWriter, r *http.Request, _ httprou
func (h *Handler) AuthHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
var ctx = fosite.NewContext()

logrus.Infof("Got headers: %v+", r.Header)

authorizeRequest, err := h.OAuth2.NewAuthorizeRequest(ctx, r)
if err != nil {
pkg.LogError(err)
Expand Down

0 comments on commit 971d7ba

Please sign in to comment.