Modify order of Account API authentication classes

This commit is contained in:
Douglas Hall
2019-01-29 09:36:49 -05:00
committed by Douglas Hall
parent 73356d8f1f
commit 12a5b4cc8d

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