silverstripe-webpack/app/_config/api-captcha.yml

35 lines
1.9 KiB
YAML
Raw Normal View History

---
Name: app-api-captcha
2022-03-15 19:48:57 +01:00
After:
- a2nt-cms-niceties-base-config
---
2022-03-15 19:48:57 +01:00
A2nt\CMSNiceties\Extensions\SiteMemberLoginForm:
enable_captcha: false
UndefinedOffset\NoCaptcha\Forms\NocaptchaField:
2023-10-31 20:37:48 +01:00
site_key: '`NOCAPTCHA_SITE_KEY`' #Your site key (required)
secret_key: '`NOCAPTCHA_SECRET_KEY`' #Your secret key (required)
verify_ssl: true #Allows you to disable php-curl's SSL peer verification by setting this to false (optional, defaults to true)
default_theme: 'light' #Default theme color (optional, light or dark, defaults to light)
default_type: 'image' #Default captcha type (optional, image or audio, defaults to image)
default_size: 'normal' #Default size (optional, normal, compact or invisible, defaults to normal)
default_badge: 'bottomright' #Default badge position (bottomright, bottomleft or inline, defaults to bottomright)
proxy_server: '' #Your proxy server address (optional)
proxy_auth: '' #Your proxy server authentication information (optional)
2023-11-08 18:42:00 +01:00
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
2024-04-26 15:29:29 +02:00
default_spam_protector: WebbuildersGroup\Turnstile\Forms\TurnstileProtector
2023-11-08 18:42:00 +01:00
#default_spam_protector: UndefinedOffset\NoCaptcha\Forms\NocaptchaProtector
WebbuildersGroup\Turnstile\Forms\TurnstileField:
2024-04-26 15:29:29 +02:00
site_key: '`SS_TURNSTILE_SITE_KEY`' #Your site key (required)
secret_key: '`SS_TURNSTILE_SECRET_KEY`' #Your secret key (required)
2023-11-08 18:42:00 +01:00
verify_ssl: true #Allows you to disable php-curl's SSL peer verification by setting this to false (optional, defaults to true)
default_theme: "light" #Default theme color (optional, light, dark or auto, defaults to light)
js_onload_callback: null #Onload callback to be called when the JS for Turnstile is loaded
2024-03-25 04:34:24 +01:00
disable_js: true
2023-11-08 18:42:00 +01:00
proxy_server: "`SS_OUTBOUND_PROXY_SERVER`" #Your proxy server address (optional)
proxy_port: "`SS_OUTBOUND_PROXY_PORT`" #Your proxy server address port (optional)
proxy_auth: "`SS_OUTBOUND_PROXY_AUTH`" #Your proxy server authentication information (optional)