From 8f0541ce85743f0c3d232cbcf1118dc06caab635 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 9 Aug 2024 21:21:44 +0000 Subject: [PATCH] Removed auth classes from server called endpoint since its all handled by the permission --- ocs_authentication/auth_profile/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ocs_authentication/auth_profile/views.py b/ocs_authentication/auth_profile/views.py index 19a2a83..cfa216c 100644 --- a/ocs_authentication/auth_profile/views.py +++ b/ocs_authentication/auth_profile/views.py @@ -14,6 +14,7 @@ class AddUpdateUserView(APIView): can access this application with their api-token without needing to initially login with their password. This should also be called on token change or on any user info change. """ + authentication_classes = [] # No auth class should basically bypass auth since this already has permissions permission_classes = [IsServer] throttle_classes = [NoThrottle]