Commit ad761c18 authored by Dave Grijalva's avatar Dave Grijalva

Merge pull request #15 from cryptix/patch-1

jwt.ValidationError didn't not implement error
parents 71c6a65c dea87c4c
......@@ -172,7 +172,7 @@ type ValidationError struct {
// Validation error is an error type
func (e *ValidationError) Error() string {
func (e ValidationError) Error() string {
if e.err == "" {
return "Token is invalid"
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