From efde69984d0345bbd3d5e9192843390b9de4f2be Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Tue, 10 Jul 2018 22:42:05 +0300 Subject: [PATCH] Revert changes to base.py --- sikweb/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sikweb/base.py b/sikweb/base.py index 2b590dd..94ef3eb 100644 --- a/sikweb/base.py +++ b/sikweb/base.py @@ -220,8 +220,7 @@ REST_FRAMEWORK = { 'rest_framework.permissions.IsAdminUser', ), 'DEFAULT_AUTHENTICATION_CLASSES': ( - 'rest_framework.authentication.SessionAuthentication', - 'rest_framework.authentication.BasicAuthentication', + 'rest_framework.authentication.TokenAuthentication', ), 'DEFAULT_THROTTLE_CLASSES': ( 'members.throttles.BurstRateThrottle',