Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 19, 2024
1 parent 0150085 commit e14495a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ldapauthenticator/ldapauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ def resolve_username(self, username_supplied_by_user):
password=self.lookup_dn_search_password,
)
if not conn:
self.log.error(f"Failed to bind lookup_dn_search_user '{self.lookup_dn_search_user}'")
self.log.error(
f"Failed to bind lookup_dn_search_user '{self.lookup_dn_search_user}'"
)
return (None, None)

search_filter = self.lookup_dn_search_filter.format(
Expand Down

0 comments on commit e14495a

Please sign in to comment.