settings: Set empty string default for AUTH_LDAP_BIND_PASSWORD.

That value is necessary to configure anonymous binds in
django-auth-ldap, which are useful when we're using LDAP just to
populate the user database.

Fixes #10257.
This commit is contained in:
Tim Abbott 2018-08-09 09:57:54 -07:00
parent bfb3dcec7e
commit 49528a98eb
1 changed files with 1 additions and 1 deletions

View File

@ -1371,7 +1371,7 @@ else:
EMAIL_HOST_PASSWORD = get_secret('email_password')
EMAIL_GATEWAY_PASSWORD = get_secret('email_gateway_password')
AUTH_LDAP_BIND_PASSWORD = get_secret('auth_ldap_bind_password')
AUTH_LDAP_BIND_PASSWORD = get_secret('auth_ldap_bind_password', '')
# Set the sender email address for Django traceback error reporting
if SERVER_EMAIL is None: