Use the reCAPTCHA Enterprise API.

This commit is contained in:
tim
2026-09-26 15:27:51 +02:00
parent cc47d0ee51
commit 77800174c9
11 changed files with 265 additions and 60 deletions
+7 -2
View File
@@ -13,10 +13,15 @@ DB_NAME=xxx
# host. If it is empty, the pages refuse plain HTTP.
SITE_URL=https://xxx.org.za
# Google reCAPTCHA v2 keys (https://www.google.com/recaptcha/admin).
# Google reCAPTCHA Enterprise checkbox key and its Google Cloud project ID.
# Enable the reCAPTCHA Enterprise API in that project. RECAPTCHA_API_KEY is
# a server-side Google Cloud API key, not the old reCAPTCHA secret. Restrict
# it to that API and, if possible, the server's outbound IP address.
# SITE_URL must have the same hostname as the page that shows the checkbox.
# Leave RECAPTCHA_SITE_KEY empty to turn the captcha off.
RECAPTCHA_SITE_KEY=
RECAPTCHA_SECRET=
RECAPTCHA_PROJECT_ID=
RECAPTCHA_API_KEY=
# Google Analytics tracking ID. Leave it empty to turn analytics off.
GOOGLE_ANALYTICS_ID=