aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'okupy/tests/settings.py')
-rw-r--r--okupy/tests/settings.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/okupy/tests/settings.py b/okupy/tests/settings.py
index 97b2844..deb2f15 100644
--- a/okupy/tests/settings.py
+++ b/okupy/tests/settings.py
@@ -26,7 +26,7 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
# Custom authentication backend
AUTHENTICATION_BACKENDS = (
- 'django_auth_ldap.backend.LDAPBackend',
+ 'okupy.common.auth.LDAPAuthBackend',
'okupy.common.auth.SSLCertAuthBackend',
'okupy.common.auth.SSHKeyAuthBackend',
)
@@ -50,7 +50,6 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
- 'django_auth_ldap',
'django_otp',
'discover_runner',
'okupy.accounts',
@@ -260,10 +259,6 @@ LOGGING = {
'handlers': ['console' if DEBUG else 'null'],
'level': 'DEBUG' if DEBUG else 'INFO',
},
- 'django_auth_ldap': {
- 'handlers': ['console' if DEBUG else 'null'],
- 'level': 'DEBUG' if DEBUG else 'INFO',
- },
}
}