no breakpoints

This commit is contained in:
Snorre lothar von Gohren Edwin 2015-12-19 23:58:27 +01:00
parent b863883b96
commit 5d11392aac
1 changed files with 0 additions and 1 deletions

View File

@ -97,7 +97,6 @@ func Parse(tokenString string, keyFunc Keyfunc) (*Token, error) {
func ParseFromRequest(req *http.Request, keyFunc Keyfunc) (token *Token, err error) { func ParseFromRequest(req *http.Request, keyFunc Keyfunc) (token *Token, err error) {
// Look for an Authorization header // Look for an Authorization header
_ = "breakpoint"
if ah := req.Header.Get("Authorization"); ah != "" { if ah := req.Header.Get("Authorization"); ah != "" {
// Should be a bearer token // Should be a bearer token
if len(ah) > 6 && strings.ToUpper(ah[0:7]) == "BEARER " { if len(ah) > 6 && strings.ToUpper(ah[0:7]) == "BEARER " {