forked from mirror/jwt
no breakpoints
This commit is contained in:
parent
b863883b96
commit
5d11392aac
1
token.go
1
token.go
|
@ -97,7 +97,6 @@ func Parse(tokenString string, keyFunc Keyfunc) (*Token, error) {
|
|||
func ParseFromRequest(req *http.Request, keyFunc Keyfunc) (token *Token, err error) {
|
||||
|
||||
// Look for an Authorization header
|
||||
_ = "breakpoint"
|
||||
if ah := req.Header.Get("Authorization"); ah != "" {
|
||||
// Should be a bearer token
|
||||
if len(ah) > 6 && strings.ToUpper(ah[0:7]) == "BEARER " {
|
||||
|
|
Loading…
Reference in New Issue