Lucterios2 / django_auth_ldap3_ad

Simple LDAP/AD auth module for django
https://pypi.python.org/pypi/django-auth-ldap3-ad
GNU General Public License v3.0
45 stars 25 forks source link

Accept LDAP_BIND_PASSWORD as password setting #13

Closed weissglut-dev closed 7 years ago

weissglut-dev commented 7 years ago

Hi,

with this change one can use LDAP_BIND_PWD or LDAP_BIND_PASSWORD When the setting LDAP_BIND_PASSWORD is used the contents will not be shown wherever django.views.debug is used. e.g. in django_debugtoolbar

See https://github.com/django/django/blob/master/django/views/debug.py#L21

Best Regards Seyhbold