mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-04-22 01:32:08 +03:00
Merge c5d79f6f27
into ef56efc0c8
This commit is contained in:
commit
7557467b15
|
@ -44,7 +44,7 @@ class LoginView(GenericAPIView):
|
|||
|
||||
def get_response(self):
|
||||
return Response(
|
||||
self.response_serializer(self.token).data, status=status.HTTP_200_OK
|
||||
self.response_serializer(self.token, context=self.get_serializer_context()).data, status=status.HTTP_200_OK
|
||||
)
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue
Block a user