vendor/shopware/storefront/Resources/views/storefront/component/captcha/googleReCaptchaV2.html.twig line 1

  1. {% block component_captcha_google_re_captcha_v2 %}
  2. {% set googleReCaptchaV2Options = {
  3. siteKey: config('core.basicInformation.activeCaptchasV2.googleReCaptchaV2.config.siteKey'),
  4. invisible: config('core.basicInformation.activeCaptchasV2.googleReCaptchaV2.config.invisible')
  5. } %}
  6. data-google-re-captcha-v2="true"
  7. data-google-re-captcha-v2-options="{{ googleReCaptchaV2Options|json_encode }}">
  8. type="text"
  9. class="d-none grecaptcha-v2-input"
  10. name="{{ constant('Shopware\\Storefront\\Framework\\Captcha\\GoogleReCaptchaV2::CAPTCHA_REQUEST_PARAMETER') }}"
  11. data-skip-report-validity="true"
  12. required>
  13. {% if googleReCaptchaV2Options.invisible %}
  14. {% set recaptchaV3Active = config('core.basicInformation.activeCaptchasV2.googleReCaptchaV3.isActive') %}
  15. {% if not recaptchaV3Active %}
  16. {{ "captcha.googleReCaptcha.dataProtectionInformation"|trans|sw_sanitize }}
  • {% endif %}
  • {% endif %}
  • {% endblock %}