fix issue on missing pw file

This commit is contained in:
David Rodenkirchen 2024-06-03 09:17:45 +02:00
parent e15cc1ac29
commit 3edf85d4b5

View File

@ -116,7 +116,7 @@ class FileBasedAuthenticationService:
except FileNotFoundError:
self._logger.warning(f"Password file at '{self._password_file_path}' not found. "
f"Creating new one on next sync.")
self._passwords = {}
self._users = {}
def authenticate(self, username: str, password: str) -> Optional[PermissionLevel]:
"""