Skip to content

Commit d51ff1c

Browse files
authored
Merge pull request #92 from SockYeh/master
fix: jwt invalid token exception for blacklist
2 parents 9118aa7 + 7c03835 commit d51ff1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pwncore/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,6 @@ async def check_blacklist(
9696
return Response(status_code=status.HTTP_403_FORBIDDEN)
9797
except KeyError:
9898
pass
99+
except jwt.exceptions.InvalidTokenError:
100+
pass
99101
return await call_next(request)

0 commit comments

Comments
 (0)