M4-T02: add exponential login back-off service and wire into login endpoint

This commit is contained in:
tliu93 committed 2026-06-21 21:20:28 +02:00
1 parent 64d3882c16
commit e480a84a44
9 files changed
+654 -3

No files matched your search

+2
View File
@@ -37,6 +37,8 @@ class Settings(BaseSettings):
auth_session_cookie_name: str = "home_automation_session"
auth_session_ttl_hours: int = 12
auth_cookie_secure_override: bool | None = True
auth_login_throttle_enabled: bool = True
auth_trust_forwarded_for: bool = False
model_config = SettingsConfigDict(
env_file=".env",