You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A successful request to /auth/invalidate-sessions will result in an HTTP 204 response being returned.
The HTTP 204 response will have a Content-Type header when it shouldn't have this header.
A simple fix would be to remove the empty dictionary from the POST Response in the InvalidateSessions and InvalidateRefreshTokens class:
Current line 281 in views.py return Response({}, status=HTTP_204_NO_CONTENT)
Can be fixed with: return Response(status=HTTP_204_NO_CONTENT)
The text was updated successfully, but these errors were encountered:
A successful request to /auth/invalidate-sessions will result in an HTTP 204 response being returned.
The HTTP 204 response will have a Content-Type header when it shouldn't have this header.
A simple fix would be to remove the empty dictionary from the POST Response in the InvalidateSessions and InvalidateRefreshTokens class:
Current line 281 in views.py
return Response({}, status=HTTP_204_NO_CONTENT)
Can be fixed with:
return Response(status=HTTP_204_NO_CONTENT)
The text was updated successfully, but these errors were encountered: