Skip to content

Commit 148a2e3

Browse files
hishamkaramdavesque
authored andcommitted
call super init method
1 parent a4e2109 commit 148a2e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rest_framework_simplejwt/authentication.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class JWTAuthentication(authentication.BaseAuthentication):
2323
"""
2424
www_authenticate_realm = 'api'
2525

26-
def __init__(self):
26+
def __init__(self, *args, **kwargs):
27+
super().__init__(*args, **kwargs)
2728
self.user_model = get_user_model()
2829

2930
def authenticate(self, request):

0 commit comments

Comments
 (0)