diff --git a/core/lib/Thelia/Core/Template/BaseParam/Secure.php b/core/lib/Thelia/Core/Template/BaseParam/Secure.php deleted file mode 100755 index ecc36299e..000000000 --- a/core/lib/Thelia/Core/Template/BaseParam/Secure.php +++ /dev/null @@ -1,39 +0,0 @@ -. */ -/* */ -/*************************************************************************************/ - -namespace Thelia\Core\Template\BaseParam; - -use Thelia\Tpex\BaseParam\BaseParam; -use Thelia\Tools\Redirect; - -class Secure extends BaseParam -{ - public function exec() - { - $request = $this->getRequest(); - - if (!$request->getSession()->get('connected') && $this->baseParamValue) { - Redirect::unauthorize(); - } - } -}