logout api and sonar

This commit is contained in:
jain
2023-07-11 22:34:59 +05:30
parent 7e7367e3a4
commit 18cb975d94
11 changed files with 51 additions and 16 deletions

View File

@ -154,6 +154,10 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
JWT_AUTH = {
# Other JWT authentication settings
'JWT_AUTHENTICATION': 'your_app.authentication.CustomJWTAuthentication',
}
# Internationalization
# https://docs.djangoproject.com/en/3.0/topics/i18n/
@ -167,7 +171,6 @@ USE_I18N = True
USE_L10N = True
USE_TZ = True
# cors header settings
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')