Pārlūkot izejas kodu

Merge branch 'develop'

master
Guillaume Bourgeois pirms 1 mēnesi
vecāks
revīzija
04b2656af5
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. +9
    -0
      Form/Ticket/TicketFormType.php

+ 9
- 0
Form/Ticket/TicketFormType.php Parādīt failu

@@ -2,6 +2,8 @@

namespace Lc\CaracoleBundle\Form\Ticket;

use Karser\Recaptcha3Bundle\Form\Recaptcha3Type;
use Karser\Recaptcha3Bundle\Validator\Constraints\Recaptcha3;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
use Lc\CaracoleBundle\Model\Section\SectionInterface;
@@ -93,6 +95,13 @@ class TicketFormType extends SovTicketFormType
'label' => 'Email'
]
);

$builder->add('captcha', Recaptcha3Type::class, [
'constraints' => new Recaptcha3(),
'action_name' => 'contact',
//'script_nonce_csp' => $nonceCSP,
'locale' => 'fr',
]);
}

$builder->add(

Notiek ielāde…
Atcelt
Saglabāt