Skip to content

Commit

Permalink
import ANONYMOUS constant from ldap3
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCirca committed Aug 31, 2018
1 parent 756d424 commit 14bd165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/authentication/ldap_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from flask_login import current_user, login_required, login_user, logout_user

try:
from ldap3 import Server, Connection, SIMPLE
from ldap3 import Server, Connection, SIMPLE, ANONYMOUS
except ImportError:
if settings.LDAP_LOGIN_ENABLED:
logger.error("The ldap3 library was not found. This is required to use LDAP authentication (see requirements.txt).")
Expand Down

0 comments on commit 14bd165

Please sign in to comment.