Remove remaining DB getter functions, inline at call site and add ResetToken.by_passphrase().

This commit is contained in:
2026-02-10 22:48:31 +00:00
parent bad709a3ab
commit d41cffc03e
8 changed files with 52 additions and 96 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ async def websocket_register_add(
stripped = name.strip()
if stripped:
user_name = stripped
credential_ids = db.get_user_credential_ids(user_uuid) or None
credential_ids = user.credential_ids or None
# WebAuthn registration
credential = await register_chat(ws, user_uuid, user_name, origin, credential_ids)