diff --git a/jwt.go b/jwt.go index 3b36c98..c08d80a 100644 --- a/jwt.go +++ b/jwt.go @@ -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" }