fix issue on missing pw file
This commit is contained in:
parent
e15cc1ac29
commit
3edf85d4b5
@ -116,7 +116,7 @@ class FileBasedAuthenticationService:
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
self._logger.warning(f"Password file at '{self._password_file_path}' not found. "
|
self._logger.warning(f"Password file at '{self._password_file_path}' not found. "
|
||||||
f"Creating new one on next sync.")
|
f"Creating new one on next sync.")
|
||||||
self._passwords = {}
|
self._users = {}
|
||||||
|
|
||||||
def authenticate(self, username: str, password: str) -> Optional[PermissionLevel]:
|
def authenticate(self, username: str, password: str) -> Optional[PermissionLevel]:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user