refactor: remove dead session code

This commit is contained in:
hh
2026-05-20 14:23:01 +02:00
parent 0128191ac3
commit a7827b2fa6
5 changed files with 27 additions and 84 deletions
+6 -2
View File
@@ -40,7 +40,11 @@ class Settings(BaseSettings):
value per gateway since we open one Client total."""
bootstrap_tokens: str = ""
"""Phase 1.3 seed: ``name1:value1,name2:value2``. Empty = no auth wired yet.
"""Out-of-band token seed: ``name1:value1,name2:value2``. Empty is
fine — DB-issued tokens (admin UI) carry steady-state auth.
Phase 4 moves tokens into the DB. Until then this is the only source.
This env channel layers alongside the DB store and is kept for
first-run setup, disaster recovery (admin password lost), and
``examples/`` smoke tests. Bootstrap tokens implicitly carry
scope ``"*"`` and never get a ``last_used_at`` stamp (no DB row).
"""