Parcourir la source

restore captcha

Olivier Massot il y a 2 ans
Parent
commit
177c32f667
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      ot_templating/Resources/Private/Forms/Contact.form.yaml

+ 7 - 0
ot_templating/Resources/Private/Forms/Contact.form.yaml

@@ -166,3 +166,10 @@ renderables:
           text: 'By submitting this form, you agree that theses informations can be processed in order to contact you back and answer your demand'
           elementClassAttribute: contact-form-info
         label: ''
+      -
+        validators:
+          -
+            identifier: Hcaptcha
+        type: Hcaptcha
+        identifier: hcaptcha-1
+        label: hCaptcha