Merge pull request #18 from aspic/patch-1

Update jwt.go
This commit is contained in:
Dave Grijalva 2014-05-22 12:02:40 -07:00
commit fecd9ab279
1 changed files with 1 additions and 2 deletions

3
jwt.go
View File

@ -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