Skip to main content

Module bot_check

Module bot_check 

Source
Expand description

Keeps bots off the email form: a honeypot field, and a Cloudflare Turnstile token when configured. Rate limits are the caller’s job.

Enums§

Verdict

Constants§

HONEYPOT_FIELD
Hidden form field that only automated form fillers complete.
TURNSTILE_FIELD
Form field the Turnstile widget fills in.

Functions§

check
Errors only when Turnstile cannot be reached: the form then refuses rather than letting bots through.