Skip to content

Commit 5fc33b2

Browse files
authored
Avoid loading token twice in pyjwt.decode (jpadilla#506)
Removes a call to _load that was unused.
1 parent 2243c08 commit 5fc33b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jwt/api_jwt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ def decode(
8080
**kwargs
8181
): # type: (...) -> Dict[str, Any]
8282

83-
payload, _, _, _ = self._load(jwt)
84-
8583
if options is None:
8684
options = {"verify_signature": True}
8785
else:

0 commit comments

Comments
 (0)