Merge pull request #19746 from edx/douglashall/user_account_api_auth

Modify order of user account api authentication classes.
This commit is contained in:
Douglas Hall
2019-02-12 17:24:26 -05:00
committed by GitHub

View File

@@ -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,)