From 3edf85d4b56e7e6e67d6f1a97e9264a3b35937f8 Mon Sep 17 00:00:00 2001 From: David Rodenkirchen Date: Mon, 3 Jun 2024 09:17:45 +0200 Subject: [PATCH] fix issue on missing pw file --- ezgg_website/services/authentication_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezgg_website/services/authentication_service.py b/ezgg_website/services/authentication_service.py index 01a1c8d..6948351 100644 --- a/ezgg_website/services/authentication_service.py +++ b/ezgg_website/services/authentication_service.py @@ -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]: """