diff --git a/brostar_api/settings.py b/brostar_api/settings.py index 6476833..52cd94c 100644 --- a/brostar_api/settings.py +++ b/brostar_api/settings.py @@ -68,7 +68,6 @@ "whitenoise.middleware.WhiteNoiseMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.common.CommonMiddleware", - "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", @@ -200,8 +199,8 @@ "PAGE_SIZE": 1000, "DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"], "DEFAULT_AUTHENTICATION_CLASSES": ( - "nens_auth_client.rest_framework.OAuth2TokenAuthentication", - "rest_framework.authentication.BasicAuthentication", + # "nens_auth_client.rest_framework.OAuth2TokenAuthentication", + # "rest_framework.authentication.BasicAuthentication", "rest_framework.authentication.SessionAuthentication", ), }