Skip to content

Commit

Permalink
fix: (review) Add comment to Delete Account view
Browse files Browse the repository at this point in the history
  • Loading branch information
KyryloKireiev authored and OmarIthawi committed May 31, 2024
1 parent e193555 commit a677b68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openedx/core/djangoapps/user_api/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)

Expand Down

0 comments on commit a677b68

Please sign in to comment.