Enable logout for now so client tests pass.
This commit is contained in:
parent
644539bd68
commit
bced00dc8a
@ -419,7 +419,7 @@ class AuthenticationViewSet(viewsets.ViewSet):
|
|||||||
@action_decorator(detail=False, methods=['POST'])
|
@action_decorator(detail=False, methods=['POST'])
|
||||||
def logout(self, request):
|
def logout(self, request):
|
||||||
# FIXME: expire the token - we need better token handling - using knox? Something else?
|
# 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):
|
class TestAuthenticationViewSet(viewsets.ViewSet):
|
||||||
|
Loading…
Reference in New Issue
Block a user