Skip to content

Commit

Permalink
apply some more linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrice committed Jan 18, 2022
1 parent 4fc2a6b commit d81ab19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ldapauthenticator/ldapauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,13 @@ def get_connection(self, userdn, password):
local_private_key_file=client_key,
local_certificate_file=client_cert,
ca_certs_file=ca_cert,
validate=ssl.CERT_REQUIRED
validate=ssl.CERT_REQUIRED,
)
server = ldap3.Server(
self.server_address,
port=self.server_port,
use_ssl=True,
tls=tlsSettings
tls=tlsSettings,
)
else:
server = ldap3.Server(
Expand Down

0 comments on commit d81ab19

Please sign in to comment.