chore: update drf endpoints to use default authentication

This commit is contained in:
salman2013
2023-10-12 11:27:45 +05:00
parent 7e3346c64c
commit 4a640fec8b
3 changed files with 0 additions and 8 deletions

View File

@@ -164,7 +164,6 @@ class BasketOrderView(APIView):
Retrieve the order associated with a basket.
"""
authentication_classes = (SessionAuthentication,)
permission_classes = (IsAuthenticated,)
def get(self, request, *_args, **kwargs):

View File

@@ -43,9 +43,6 @@ class FeatureBasedEnrollmentSupportAPIView(GenericAPIView):
Support-only API View for getting feature based enrollment configuration details
for a course.
"""
authentication_classes = (
JwtAuthentication, SessionAuthentication
)
permission_classes = (IsAuthenticated,)
@method_decorator(require_support_permission)