From 5f6871154c39cc432f256c89c456d70b4dec2e44 Mon Sep 17 00:00:00 2001 From: lovenunu Date: Mon, 14 Jul 2014 21:02:15 +0200 Subject: [PATCH] Apply firewall on sensitive forms modified: core/lib/Thelia/Form/ContactForm.php modified: core/lib/Thelia/Form/CustomerLostPasswordForm.php modified: core/lib/Thelia/Form/OrderPayment.php --- core/lib/Thelia/Form/ContactForm.php | 2 +- core/lib/Thelia/Form/CustomerLostPasswordForm.php | 2 +- core/lib/Thelia/Form/OrderPayment.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/Thelia/Form/ContactForm.php b/core/lib/Thelia/Form/ContactForm.php index 1d8366806..ea4b3989c 100644 --- a/core/lib/Thelia/Form/ContactForm.php +++ b/core/lib/Thelia/Form/ContactForm.php @@ -21,7 +21,7 @@ use Thelia\Core\Translation\Translator; * @package Thelia\Form * @author Manuel Raynaud */ -class ContactForm extends BaseForm +class ContactForm extends FirewallForm { /** diff --git a/core/lib/Thelia/Form/CustomerLostPasswordForm.php b/core/lib/Thelia/Form/CustomerLostPasswordForm.php index 3d29605e9..012e2bf4d 100644 --- a/core/lib/Thelia/Form/CustomerLostPasswordForm.php +++ b/core/lib/Thelia/Form/CustomerLostPasswordForm.php @@ -24,7 +24,7 @@ use Thelia\Model\CustomerQuery; * @package Thelia\Form * @author Manuel Raynaud */ -class CustomerLostPasswordForm extends BaseForm +class CustomerLostPasswordForm extends FirewallForm { /** * diff --git a/core/lib/Thelia/Form/OrderPayment.php b/core/lib/Thelia/Form/OrderPayment.php index 6d1182a4a..4ecabfe2e 100644 --- a/core/lib/Thelia/Form/OrderPayment.php +++ b/core/lib/Thelia/Form/OrderPayment.php @@ -24,7 +24,7 @@ use Thelia\Module\BaseModule; * @package Thelia\Form * @author Etienne Roudeix */ -class OrderPayment extends BaseForm +class OrderPayment extends FirewallForm { protected function buildForm() {