This commit is contained in:
jonasroussel
2020-11-19 18:48:56 +01:00
parent ff0fe82556
commit 2b39a3be15
4 changed files with 7 additions and 3 deletions

View File

@ -120,7 +120,7 @@ class JWT {
}
} catch (ex) {
if (throwUndefinedErrors) {
throw ex;
rethrow;
} else {
throw JWTInvalidError('invalid token');
}