chore: update drf endpoints to use default authentication
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user