From bced00dc8aa1df3ecb1c734e91f6249ea65b762d Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 15 May 2020 13:03:04 +0300 Subject: [PATCH] Enable logout for now so client tests pass. --- django_etesync/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_etesync/views.py b/django_etesync/views.py index dd110db..db8550b 100644 --- a/django_etesync/views.py +++ b/django_etesync/views.py @@ -419,7 +419,7 @@ class AuthenticationViewSet(viewsets.ViewSet): @action_decorator(detail=False, methods=['POST']) def logout(self, request): # FIXME: expire the token - we need better token handling - using knox? Something else? - return Response({}, status=status.HTTP_400_BAD_REQUEST) + return Response({}, status=status.HTTP_200_OK) class TestAuthenticationViewSet(viewsets.ViewSet):