Add firewall on login forms
modified: core/lib/Thelia/Form/AdminLogin.php modified: core/lib/Thelia/Form/CustomerLogin.php
This commit is contained in:
committed by
Benjamin Perche
parent
13cb3dbbdc
commit
b926f27711
@@ -16,7 +16,7 @@ use Symfony\Component\Validator\Constraints\Length;
|
|||||||
use Symfony\Component\Validator\Constraints\NotBlank;
|
use Symfony\Component\Validator\Constraints\NotBlank;
|
||||||
use Thelia\Core\Translation\Translator;
|
use Thelia\Core\Translation\Translator;
|
||||||
|
|
||||||
class AdminLogin extends BaseForm
|
class AdminLogin extends FirewallForm
|
||||||
{
|
{
|
||||||
protected function buildForm()
|
protected function buildForm()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ use Thelia\Model\CustomerQuery;
|
|||||||
* @package Thelia\Form
|
* @package Thelia\Form
|
||||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||||
*/
|
*/
|
||||||
class CustomerLogin extends BaseForm
|
class CustomerLogin extends FirewallForm
|
||||||
{
|
{
|
||||||
protected function buildForm()
|
protected function buildForm()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user