refactor: form-core wiring, JWT sessions, slowapi, packaging, frontend rewrite, test declutter
This commit is contained in:
parent
06ab25fb47
commit
03af41e837
74 changed files with 6089 additions and 5183 deletions
|
|
@ -42,7 +42,9 @@ class Settings(BaseSettings):
|
|||
run_throttle_per_minute: int = 60
|
||||
|
||||
# --- access management (magic-link auth, see app/auth) ---
|
||||
# Public frontend URL (magic links point at /login?token= there).
|
||||
# Secret signing session JWTs (stateless cookies). Long random value;
|
||||
# empty fails closed at login time — set it in prod (.env JWT_SECRET).
|
||||
jwt_secret: str = "" # Public frontend URL (magic links point at /login?token= there).
|
||||
frontend_url: str = "http://localhost:3000"
|
||||
# Comma-separated emails that become admins (role assignment + bootstrap).
|
||||
admin_emails: str = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue