From 12a5b4cc8de0daad5a41215d48a88a4ccfa76b31 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Tue, 29 Jan 2019 09:36:49 -0500 Subject: [PATCH] Modify order of Account API authentication classes --- 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 25565997ba..da561c7af9 100644 --- a/openedx/core/djangoapps/user_api/accounts/views.py +++ b/openedx/core/djangoapps/user_api/accounts/views.py @@ -257,7 +257,7 @@ class AccountViewSet(ViewSet): If the update is successful, updated user account data is returned. """ authentication_classes = ( - OAuth2AuthenticationAllowInactiveUser, SessionAuthenticationAllowInactiveUser, JwtAuthentication + JwtAuthentication, OAuth2AuthenticationAllowInactiveUser, SessionAuthenticationAllowInactiveUser ) permission_classes = (permissions.IsAuthenticated,) parser_classes = (MergePatchParser,)