Skip to content

Commit 5a3f370

Browse files
committed
Renable ldap certificate verification
This reverts commit 9a21937.
1 parent cb4ae59 commit 5a3f370

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

selections/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import os
33
from collections import defaultdict
44

5-
import ldap
65
import csh_ldap
76
from flask import Flask
87
from flask_migrate import Migrate
@@ -25,7 +24,6 @@
2524
client_registration_info=app.config['OIDC_CLIENT_CONFIG'])
2625

2726
# Create a connection to CSH LDAP
28-
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_ALLOW)
2927
_ldap = csh_ldap.CSHLDAP(
3028
app.config['LDAP_BIND_DN'], app.config['LDAP_BIND_PASS'])
3129

0 commit comments

Comments
 (0)