disable session authentication class

This commit is contained in:
Anatoly 2019-11-07 10:55:46 +03:00
parent ba2b3303bb
commit 0b4282bd2f

View File

@ -227,7 +227,7 @@ REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
# JWT
'utils.authentication.GMJWTAuthentication',
'rest_framework.authentication.SessionAuthentication',
# 'rest_framework.authentication.SessionAuthentication',
),
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
'DEFAULT_VERSION': (AVAILABLE_VERSIONS['current'],),