small fixes

This commit is contained in:
Jonas Winkler
2020-10-29 00:36:39 +01:00
parent 40c5eb8eab
commit 03bd2b7328
2 changed files with 8 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ REST_FRAMEWORK = {
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.TokenAuthentication',
'paperless.auth.QueryTokenAuthentication'
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated',
]
}