Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 19, 2024
1 parent 5c5ccbe commit 406b723
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 @@ -382,7 +382,7 @@ def resolve_username(self, username_supplied_by_user):

def get_connection(self, userdn, password):
"""
Returns either a ldap3 Connection object automatically bound to the
Returns either an ldap3 Connection object automatically bound to the
user, or None if the bind operation failed for some reason.
Raises errors on connectivity or TLS issues.
Expand Down Expand Up @@ -491,7 +491,7 @@ async def authenticate(self, handler, data):
if conn:
break
if not conn:
self.log.warning(f"Failed to bind user '{username}' to a LDAP user.")
self.log.warning(f"Failed to bind user '{username}' to an LDAP user.")
return None

if self.search_filter:
Expand Down

0 comments on commit 406b723

Please sign in to comment.