fix: (review) Add comment to Delete Account view

This commit is contained in:
KyryloKireiev
2023-09-25 14:12:17 +03:00
parent 4c50ad0a43
commit 6a1f126be9

View File

@@ -568,6 +568,9 @@ class DeactivateLogoutView(APIView):
- Log the user out
- Create a row in the retirement table for that user
"""
# BearerAuthentication is added here to support account deletion
# from the mobile app until it moves to JWT Auth.
# See mobile roadmap issue https://github.com/openedx/edx-platform/issues/33307.
authentication_classes = (JwtAuthentication, SessionAuthentication, BearerAuthentication)
permission_classes = (permissions.IsAuthenticated,)