From efd4d2a1a9b271acc929a3f3517786052084c04f Mon Sep 17 00:00:00 2001 From: Moetaz Date: Mon, 8 Oct 2018 13:58:18 +0100 Subject: [PATCH] Update views.py --- rest_auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__()