This commit is contained in:
Oskar Jaskolski 2019-08-28 12:39:25 +02:00
parent 381e58ab1c
commit 5dcfc20d82

View File

@ -53,7 +53,7 @@ class GetAuthToken(ObtainAuthToken):
except (AttributeError, ObjectDoesNotExist):
pass
self.logout(request)
logout(request)
return Response({"success": _("Successfully logged out.")},
status=status.HTTP_200_OK)