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

23 lines
1.1 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
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
default_spam_protector: UndefinedOffset\NoCaptcha\Forms\NocaptchaProtector
UndefinedOffset\NoCaptcha\Forms\NocaptchaField:
site_key: '6LfKgywaAAAAAH2VuHILbaNoUs0p0YZBNbNGyIsh' #Your site key (required)
secret_key: '6LfKgywaAAAAAJ0mxLSg1pZQIqui1gXSp2GGRKbY' #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)