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

Commit 537fde1

Browse files
committed
Support request parameter to be compatible with a previous change
1 parent 238e14f commit 537fde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework_jwt/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def jwt_decode_handler(token):
5656
)
5757

5858

59-
def jwt_response_payload_handler(token, user=None):
59+
def jwt_response_payload_handler(token, user=None, request=None):
6060
"""
6161
Returns the response data for both the login and refresh views.
6262
Override to return a custom response such as including the

0 commit comments

Comments
 (0)