mirror of https://github.com/golang-jwt/jwt.git
commit
54a180ee40
|
@ -10,7 +10,7 @@ This library is considered production ready. Feedback and feature requests are
|
||||||
return myLookupKey(token.Header["kid"])
|
return myLookupKey(token.Header["kid"])
|
||||||
})
|
})
|
||||||
|
|
||||||
if !err && token.Valid {
|
if err == null && token.Valid {
|
||||||
deliverGoodness("!")
|
deliverGoodness("!")
|
||||||
} else {
|
} else {
|
||||||
deliverUtterRejection(":(")
|
deliverUtterRejection(":(")
|
||||||
|
|
Loading…
Reference in New Issue