From c85a4da0147e5002aa38641c1e42509cb3aab2fe Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Mon, 20 May 2019 16:55:00 -0400 Subject: [PATCH] Reorder authentication classes for DeactivateLogoutView. --- openedx/core/djangoapps/user_api/accounts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/accounts/views.py b/openedx/core/djangoapps/user_api/accounts/views.py index ee76f70cbd..8bd96b9385 100644 --- a/openedx/core/djangoapps/user_api/accounts/views.py +++ b/openedx/core/djangoapps/user_api/accounts/views.py @@ -386,7 +386,7 @@ class DeactivateLogoutView(APIView): - Log the user out - Create a row in the retirement table for that user """ - authentication_classes = (SessionAuthentication, JwtAuthentication, ) + authentication_classes = (JwtAuthentication, SessionAuthentication, ) permission_classes = (permissions.IsAuthenticated, ) def post(self, request):