feat: FIRST_INSTALL_TOKEN to help services like Umbrel secure the first_install endpoint (#3751)

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Arc
2026-02-25 07:53:59 +01:00
committed by dni ⚡
co-authored by dni ⚡
parent 1d9808b269
commit 40c055e373
10 changed files with 50 additions and 12 deletions
+1
View File
@@ -983,6 +983,7 @@ class EnvSettings(LNbitsSettings):
enable_log_to_file: bool = Field(default=True)
log_rotation: str = Field(default="100 MB")
log_retention: str = Field(default="3 months")
first_install_token: str | None = Field(default=None)
cleanup_wallets_days: int = Field(default=90, ge=0)
funding_source_max_retries: int = Field(default=4, ge=0)