Cleanup and unit tests.

This commit is contained in:
Antoine Nguyen
2021-06-03 09:02:55 +02:00
parent d4868e33fc
commit ec737efc26
5 changed files with 68 additions and 25 deletions
+1
View File
@@ -184,6 +184,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'modoboa.core.drf_authentication.JWTAuthenticationWith2FA',
'rest_framework.authentication.TokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
),