Files
symfony-flex-recipes-contrib/codein/recaptcha-enterprise-bundle/1.0/config/packages/codein_recaptcha_enterprise.yaml
T

17 lines
719 B
YAML

codein_recaptcha_enterprise:
project_id: '%env(CODEIN_RECAPTCHA_ENTERPRISE_PROJECT_ID)%'
site_key: '%env(CODEIN_RECAPTCHA_ENTERPRISE_SITE_KEY)%'
api_key: '%env(CODEIN_RECAPTCHA_ENTERPRISE_API_KEY)%'
#challenge: checkbox # score (default) or checkbox, each needs its own kind of site key
#min_score: 0 # 0 disables the score check, which is what the checkbox challenge wants
#on_error: allow # deny (default) refuses the token when Google cannot be reached
# A test run has no browser to solve the challenge, so every submission would be refused.
when@test:
codein_recaptcha_enterprise:
enabled: false
#when@dev:
# codein_recaptcha_enterprise:
# enabled: false