Skip to content

Commit

Permalink
Removed auth classes from server called endpoint since its all handle…
Browse files Browse the repository at this point in the history
…d by the permission
  • Loading branch information
Jon committed Aug 9, 2024
1 parent 528edc1 commit 8f0541c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocs_authentication/auth_profile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 8f0541c

Please sign in to comment.