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

This commit is contained in:
2026-06-21 21:20:28 +02:00
parent 64d3882c16
commit e480a84a44
9 changed files with 654 additions and 3 deletions
+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",