From 31502e897b6a87106f9275c552e5b7f54ba09ac1 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Thu, 29 Oct 2020 22:33:43 +0100 Subject: [PATCH] enabled session auth again, useful for the browsable rest api --- src/paperless/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index 9c5f2bd0f..59d87c2ba 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -101,6 +101,7 @@ INSTALLED_APPS = [ REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [ 'rest_framework.authentication.BasicAuthentication', + 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication', 'paperless.auth.QueryTokenAuthentication' ],