Expand documentation for the LDAP auth integration.

Fixes #134, #173.
This commit is contained in:
Tim Abbott
2015-10-13 16:22:27 -04:00
parent 784ba7e066
commit 419d31a007
2 changed files with 39 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ from django.conf import settings
from django_auth_ldap.backend import LDAPBackend, _LDAPUser
# Run this on a cronjob to pick up on name changes.
# Quick tool to test whether you're correctly authenticating to LDAP
def query_ldap(**options):
email = options['email']
for backend in get_backends():