Commit fecd9ab2 authored by Dave Grijalva's avatar Dave Grijalva

Merge pull request #18 from aspic/patch-1

Update jwt.go
parents cdec3244 83c2b30a
......@@ -151,9 +151,8 @@ func Parse(tokenString string, keyFunc Keyfunc) (*Token, error) {
return token, vErr
} else {
return nil, &ValidationError{err: "Token contains an invalid number of segments", Errors: ValidationErrorMalformed}
}
return nil, &ValidationError{err: "Token contains an invalid number of segments", Errors: ValidationErrorMalformed}
}
// The errors that might occur when parsing and validating a token
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment