diff --git a/rest_auth/views.py b/rest_auth/views.py index c1e1856..b4ae11e 100644 --- a/rest_auth/views.py +++ b/rest_auth/views.py @@ -106,7 +106,7 @@ class LogoutView(APIView): permission_classes = (AllowAny,) def __init__(self): - if getattr(settings, 'ACCOUNT_LOGOUT_ON_GET', True): + if getattr(settings, 'ACCOUNT_LOGOUT_ON_GET', False): self.get = self._get super().__init__()