修复了token认证错误
This commit is contained in:
@@ -166,7 +166,7 @@ AUTH_USER_MODEL = 'gvsdsdk.User'
|
||||
# ==================== DRF 配置 ====================
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
'gvsdsdk.auth.jwt_auth.CompatibleJWTAuthentication',
|
||||
'gvsdsdk.auth.elt_auth.ELTAuthentication',
|
||||
),
|
||||
'DEFAULT_PERMISSION_CLASSES': (
|
||||
|
||||
Reference in New Issue
Block a user