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):