Log basic auth requests to the debug log

Part of #1087
This commit is contained in:
Akita Noek
2016-04-11 15:38:06 -04:00
parent 6182dad0d4
commit f3cae7e1f0
3 changed files with 17 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ REST_FRAMEWORK = {
'PAGE_SIZE': 25,
'DEFAULT_AUTHENTICATION_CLASSES': (
'awx.api.authentication.TokenAuthentication',
'rest_framework.authentication.BasicAuthentication',
'awx.api.authentication.LoggedBasicAuthentication',
#'rest_framework.authentication.SessionAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': (