Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
golang-github-dgrijalva-jwt-go
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Go Packaging Team
packages
golang-github-dgrijalva-jwt-go
Commits
fecd9ab2
Commit
fecd9ab2
authored
May 22, 2014
by
Dave Grijalva
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18 from aspic/patch-1
Update jwt.go
parents
cdec3244
83c2b30a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
jwt.go
jwt.go
+1
-2
No files found.
jwt.go
View file @
fecd9ab2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment