Reorder authentication classes for DeactivateLogoutView.

This commit is contained in:
Douglas Hall
2019-05-20 16:55:00 -04:00
parent 309c92f6e6
commit c85a4da014

View File

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