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

Commit 0584734

Browse files
author
vforgione
committed
added back verification and leeway -- using proper kwargs for these. updates #40
1 parent 729c121 commit 0584734

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rest_framework_jwt/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ def jwt_decode_handler(token):
4949
return jwt.decode(
5050
token,
5151
api_settings.JWT_SECRET_KEY,
52-
api_settings.JWT_VERIFY
52+
api_settings.JWT_VERIFY,
53+
verify_expiration=api_settings.JWT_VERIFY_EXPIRATION,
54+
leeway=api_settings.JWT_LEEWAY
5355
)

0 commit comments

Comments
 (0)