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
@@ -40,7 +40,7 @@ def _with_service(ctx: typer.Context, callback):
result = execute_command(app_context.console, callback=lambda: callback(service, app_context))
return result
finally:
if hasattr(repository, "close"):
if callable(getattr(type(repository), "close", None)):
repository.close()