瀏覽代碼

Merge branch 'develop'

master
Guillaume Bourgeois 1 月之前
父節點
當前提交
04b2656af5
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. +9
    -0
      Form/Ticket/TicketFormType.php

+ 9
- 0
Form/Ticket/TicketFormType.php 查看文件

@@ -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(

Loading…
取消
儲存