Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit dfbcacd

Browse files
committed
Merge pull request #41 from vforgione/master
update jwt_decode_handler to match pyjwt decode signature
2 parents bddba72 + 0584734 commit dfbcacd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rest_framework_jwt/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ def jwt_decode_handler(token):
5050
token,
5151
api_settings.JWT_SECRET_KEY,
5252
api_settings.JWT_VERIFY,
53-
api_settings.JWT_VERIFY_EXPIRATION,
54-
api_settings.JWT_LEEWAY
53+
verify_expiration=api_settings.JWT_VERIFY_EXPIRATION,
54+
leeway=api_settings.JWT_LEEWAY
5555
)

0 commit comments

Comments
 (0)