Repository navigation
Security hardening from the v0.9.0 gate backlog (#4, PR #7).
- Outbound SMTP is time-bounded (10s dial, 30s overall) and
POST /api/dashboard/admin/mail/testis limited to 5 requests per minute (429 with Retry-After). - SMTP test failures report a fixed message per stage (connect, tls, auth, send) and a
stagefield; detail stays in the server log. 5xx responses show generic text in the UI. - The generic admin client sends the CSRF token on mutations, accepts only resources listed in
NEXT_PUBLIC_TOGO_RESOURCESand encodes ids. Apps must list their admin tables in that variable (it already drove the resource list). - Host comparison is ASCII-only, host and username are trimmed on save, and omitting
usernameon PUT keeps the stored login.
The known limitations listed in v0.10.0 still apply.