small fixes

This commit is contained in:
Jonas Winkler
2020-10-29 00:36:39 +01:00
parent c17ec75d80
commit 329ee5b593
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',
]
}