fix: missing returning the claim
This commit is contained in:
parent
7ec03524ed
commit
484b9ac583
|
@ -86,5 +86,5 @@ func JWTVerifyToken(token string, domain string, privateKey ed25519.PrivateKey,
|
||||||
|
|
||||||
err = verifyFunc(claim)
|
err = verifyFunc(claim)
|
||||||
|
|
||||||
return nil, err
|
return claim, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue