From 7398ab41163fa15ea352b8249fcc73f3145766d2 Mon Sep 17 00:00:00 2001 From: Viswamedha Nalabotu Date: Sun, 8 Mar 2026 12:58:40 +0000 Subject: [PATCH] Removed basic authentication (password) for rest framework --- config/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index 82095e8..f027eb9 100644 --- a/config/settings.py +++ b/config/settings.py @@ -168,7 +168,6 @@ USE_TZ = True REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [ 'rest_framework.authentication.SessionAuthentication', - 'rest_framework.authentication.BasicAuthentication', ], 'DEFAULT_PERMISSION_CLASSES': [ 'rest_framework.permissions.IsAuthenticated',