diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-09-22 10:55:25 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-09-22 10:55:25 -0700 |
commit | de128ee24c46c6b5408a9197ed0c293800796a47 (patch) | |
tree | 9ab8da831e43bbeae6e7e35a815f95daa321d22d /okupy/settings/__init__.py | |
parent | Merge pull request #99 from dastergon/minor_fixes (diff) | |
parent | Add tests for LDAPAuthBackend. (diff) | |
download | identity.gentoo.org-de128ee24c46c6b5408a9197ed0c293800796a47.tar.gz identity.gentoo.org-de128ee24c46c6b5408a9197ed0c293800796a47.tar.bz2 identity.gentoo.org-de128ee24c46c6b5408a9197ed0c293800796a47.zip |
Merge pull request #92 from mgorny/no-django_ldap_auth
Replace django_auth_ldap with own backend
Diffstat (limited to 'okupy/settings/__init__.py')
-rw-r--r-- | okupy/settings/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/okupy/settings/__init__.py b/okupy/settings/__init__.py index bdada0a..76f5ba1 100644 --- a/okupy/settings/__init__.py +++ b/okupy/settings/__init__.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', ) @@ -140,10 +140,6 @@ LOGGING = { 'handlers': ['console' if DEBUG else 'syslog'], 'level': 'DEBUG' if DEBUG else 'INFO', }, - 'django_auth_ldap': { - 'handlers': ['console' if DEBUG else 'syslog'], - 'level': 'DEBUG' if DEBUG else 'INFO', - }, 'paramiko': { 'handlers': ['console' if DEBUG else 'syslog'], 'level': 'DEBUG' if DEBUG else 'INFO', |