We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e953c2 + 1a70def commit eade368Copy full SHA for eade368
flask_simpleldap/__init__.py
@@ -68,7 +68,7 @@ def init_app(app):
68
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
69
ldap.OPT_X_TLS_DEMAND)
70
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE,
71
- current_app.config['LDAP_CERT_PATH'])
+ app.config['LDAP_CERT_PATH'])
72
73
for option in ['USERNAME', 'PASSWORD', 'BASE_DN']:
74
if app.config['LDAP_{0}'.format(option)] is None:
0 commit comments