Open mqinbin opened 6 years ago
@jpadilla If i create a PR, will this be merged?
No, most likely not. Project hasn't been updated for 2 years. https://github.com/jpadilla/django-rest-framework-jwt/issues/484 Use https://github.com/davesque/django-rest-framework-simplejwt/ or https://github.com/Styria-Digital/django-rest-framework-jwt instead
for some reason i want to use "request" in AUTHENTICATION_BACKENDS but i got request as None
i need request because:
just change you serializers line 50 from user = authenticate(credentials) to user = authenticate(self.context["request"] , credentials)
thanks