Skip to content

Commit

Permalink
unstaged
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Apr 30, 2018
1 parent 8304a5c commit 89c124f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2/handler.go
Expand Up @@ -217,7 +217,7 @@ func (h *Handler) UserinfoHandler(w http.ResponseWriter, r *http.Request, _ http
}

if tokenType != fosite.AccessToken {
h.H.WriteErrorCode(w,r,http.StatusUnauthorized,errors.New("Only access tokens are allowed in the authorization header"))
h.H.WriteErrorCode(w, r, http.StatusUnauthorized, errors.New("Only access tokens are allowed in the authorization header"))
return
}

Expand Down

0 comments on commit 89c124f

Please sign in to comment.