From 9d2e582d4b1a14ab002eb664f8a801c2f35e74b1 Mon Sep 17 00:00:00 2001
From: Daniel Palomar <danypr92@gmail.com>
Date: Wed, 31 Aug 2022 17:56:25 +0200
Subject: [PATCH] fix(auth): comment django default auth settings

---
 django_somoffice/views/profile.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/django_somoffice/views/profile.py b/django_somoffice/views/profile.py
index 29ea20f..58c2019 100644
--- a/django_somoffice/views/profile.py
+++ b/django_somoffice/views/profile.py
@@ -23,8 +23,8 @@ logger = logging.getLogger(__name__)
 
 
 class ProfileViewSet(ViewSet):
-    authentication_classes = [SessionAuthentication]
-    permission_classes = [IsAuthenticated]
+    authentication_classes = [] # SessionAuthentication]
+    permission_classes = [] # IsAuthenticated]
 
     # GET /api/profile/ is list method, not ideal pero peor es morirse
     def list(self, request):
-- 
GitLab