disable session authentication class
This commit is contained in:
parent
ba2b3303bb
commit
0b4282bd2f
|
|
@ -227,7 +227,7 @@ REST_FRAMEWORK = {
|
||||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||||
# JWT
|
# JWT
|
||||||
'utils.authentication.GMJWTAuthentication',
|
'utils.authentication.GMJWTAuthentication',
|
||||||
'rest_framework.authentication.SessionAuthentication',
|
# 'rest_framework.authentication.SessionAuthentication',
|
||||||
),
|
),
|
||||||
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
|
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
|
||||||
'DEFAULT_VERSION': (AVAILABLE_VERSIONS['current'],),
|
'DEFAULT_VERSION': (AVAILABLE_VERSIONS['current'],),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user