Cloudflare Turnstile on e-mail sign-up and password reset, and a limit per address

- The sign-up and "forgot password" forms carry a token from Cloudflare
  Turnstile's widget (managed, shown only when Cloudflare asks for a
  click); the backend checks it before an e-mail goes out. Off without
  TURNSTILE_SITE_KEY and TURNSTILE_SECRET_KEY (development); the site key
  comes to the page through /v1/config.
- At most ten such e-mail requests an hour per visitor address, so a
  script cannot make the site mail thousands of strangers.
- The privacy notice (HU, EN) mentions Turnstile with Cloudflare.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-26 16:43:07 +00:00
co-authored by Claude Opus 5.5
parent fa46dcb757
commit 469f321ac0
14 changed files with 285 additions and 11 deletions
+2 -1
View File
@@ -242,7 +242,8 @@ export default async function PrivacyPolicyPage() {
</li>
<li>
<strong>Cloudflare, Inc.</strong>: delivering traffic and protecting against attacks; processes your IP
address and request data when the site loads.
address and request data when the site loads. On the e-mail sign-up and password request forms its
Turnstile service checks that a person, not a script, sends the form (looking at browser features too).
</li>
<li>
<strong>Google LLC</strong>: signing in with a Google account.