add USer Admin Page

This commit is contained in:
David Rodenkirchen
2026-05-27 19:36:33 +02:00
parent adec26a67b
commit ecc3fb35c3
4 changed files with 253 additions and 18 deletions
+2
View File
@@ -69,6 +69,8 @@ class UserService:
async def is_login_valid(self, user_name: str, password_clear_text: str) -> bool:
user = await self.get_user(user_name)
if not user:
user = await self.get_user(user_name.lower()) # Migrated users had all lowercase names
user_password_hash = sha256(password_clear_text.encode(encoding="utf-8")).hexdigest()
if not user:
return False