This commit is contained in:
2023-02-20 19:09:55 +03:00
parent 9fb6c72dbe
commit a8ad52caba
2 changed files with 27 additions and 36 deletions

View File

@@ -23,6 +23,7 @@ class JWTCodec:
@staticmethod
def decode(token: str, verify_exp: bool = True) -> TokenPayload:
r = None
payload = None
try:
payload = jwt.decode(
token,