feat(auth): add DB-backed login, token management, and idempotent auth migration

This commit is contained in:
2026-04-03 12:55:34 +00:00
parent 5168e52e4b
commit 06b1805b92
28 changed files with 1609 additions and 140 deletions
+1 -1
View File
@@ -100,5 +100,5 @@ def register_health_commands(app: typer.Typer) -> None:
for key, value in health.items():
app_context.console.print(f"{key}: {value}")
finally:
if hasattr(repository, "close"):
if callable(getattr(type(repository), "close", None)):
repository.close()