Quellcode durchsuchen

Auth is jamming up the works right now

Colin Powell vor 2 Jahren
Ursprung
Commit
1476fe37ca
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      vrobbler/settings.py

+ 2 - 2
vrobbler/settings.py

@@ -159,8 +159,8 @@ AUTHENTICATION_BACKENDS = [
 REST_FRAMEWORK = {
     "DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.AllowAny",),
     'DEFAULT_AUTHENTICATION_CLASSES': [
-        'rest_framework.authentication.BasicAuthentication',
-        'rest_framework.authentication.TokenAuthentication',
+        #'rest_framework.authentication.BasicAuthentication',
+        #'rest_framework.authentication.TokenAuthentication',
         'rest_framework.authentication.SessionAuthentication',
     ],
     "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",