Enable logout for now so client tests pass.
This commit is contained in:
1 parent
644539bd68
commit
bced00dc8a
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user