Merge pull request #15 from cryptix/patch-1

jwt.ValidationError didn't not implement error
This commit is contained in:
Dave Grijalva 2014-05-16 17:01:03 -07:00
commit ad761c1872
1 changed files with 1 additions and 1 deletions

2
jwt.go
View File

@ -172,7 +172,7 @@ type ValidationError struct {
} }
// Validation error is an error type // Validation error is an error type
func (e *ValidationError) Error() string { func (e ValidationError) Error() string {
if e.err == "" { if e.err == "" {
return "Token is invalid" return "Token is invalid"
} }