Spam
A form on the site sets two traps, on by default: a field nobody sees, which
bots fill in, and the moment the form was shown, as an encrypted token. A form
sent with that field filled in, or within honeypot.min_seconds of being
shown, gets the answer a person would, and nothing is stored, mailed or sent
on; the log notes it. A form that comes without the traps at all, from a front
end that does not set them, is turned away with an error on ffb_token and a
warning in the log. Turn them off with honeypot.enabled, or for one form type
with hasHoneypot(). A view of your own sets them with
<x-filament-form-builder::honeypot :form="$form" />.
A form goes out once: its button turns off when it is sent, and the same
answers and files from the same visitor within duplicate_seconds (10) are
stored once and answered the same way.
For more, add reCAPTCHA or Cloudflare Turnstile to a form from the palette.
Each shows there once it is enabled with a key and a secret:
RECAPTCHA_ENABLED, RECAPTCHA_KEY and RECAPTCHA_SECRET, or
TURNSTILE_ENABLED, TURNSTILE_KEY and TURNSTILE_SECRET. On top of that,
rate_limit_per_hour caps how many forms a visitor sends.
