revert auth backends

This commit is contained in:
evgeniy-st 2019-10-17 14:34:31 +03:00
parent ccf6e12e3f
commit 19b3502f58

View File

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