Removed basic authentication (password) for rest framework

This commit is contained in:
Viswamedha Nalabotu 2026-03-08 12:58:40 +00:00
parent 030ce12b41
commit 7398ab4116

View file

@ -168,7 +168,6 @@ USE_TZ = True
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [ 'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
], ],
'DEFAULT_PERMISSION_CLASSES': [ 'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated', 'rest_framework.permissions.IsAuthenticated',