Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Dec 12, 2023
1 parent 4f29862 commit b61fdf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mxcubecore/HardwareObjects/LdapAuthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _cleanup(self, ex=None, msg=None):
def get_field_values(self):
return self._field_values

def invlidate(self):
def invalidate(self):
pass

def authenticate(self, username, password, retry=True, fields=None):
Expand Down
6 changes: 3 additions & 3 deletions mxcubecore/HardwareObjects/abstract/AbstractAuthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def init(self) -> None:
super().init()

@abc.abstractmethod
def authenticte(self, username: str, password: str) -> bool:
def authenticate(self, username: str, password: str) -> bool:
"""
Authenticate with credentials username, password
Expand All @@ -47,9 +47,9 @@ def authenticte(self, username: str, password: str) -> bool:
pass

@abc.abstractmethod
def invlidate(username: str) -> None:
def invalidate(username: str) -> None:
"""
Reset de-authetnicate user with <username>
de-authetnicate user with <username>
Args:
username: username
Expand Down

0 comments on commit b61fdf0

Please sign in to comment.