Skip to content

Dashboard v0.10.1

Latest

Choose a tag to compare

@fadymondy fadymondy released this 14 Oct 15:29
19c92a1

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/test is 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 stage field; 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_RESOURCES and 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 username on PUT keeps the stored login.

The known limitations listed in v0.10.0 still apply.