Fixed #15 again, now check authorization also using query param

This commit is contained in:
Eliot Berriot 2017-06-29 02:27:35 +02:00
parent 795cd7beb9
commit 3ccb70d0a8
9 changed files with 98 additions and 8 deletions

View file

@ -288,6 +288,7 @@ REST_FRAMEWORK = {
'PAGE_SIZE': 25,
'DEFAULT_AUTHENTICATION_CLASSES': (
'funkwhale_api.common.authentication.JSONWebTokenAuthenticationQS',
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',