From 520b8d98f68841f5dad3d7fe30023132739cd2b3 Mon Sep 17 00:00:00 2001 From: dgt41 Date: Sat, 19 Aug 2017 18:06:42 +0300 Subject: [PATCH] unmute sessions --- installation/controller/install/config.php | 2 +- installation/controller/install/database.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installation/controller/install/config.php b/installation/controller/install/config.php index 4cc8e1fbfa91b..8aeda6b004e87 100644 --- a/installation/controller/install/config.php +++ b/installation/controller/install/config.php @@ -30,7 +30,7 @@ public function execute() $app = $this->getApplication(); // Check for request forgeries. -// JSession::checkToken() or $app->sendJsonResponse(new Exception(JText::_('JINVALID_TOKEN'), 403)); + JSession::checkToken() or $app->sendJsonResponse(new Exception(JText::_('JINVALID_TOKEN'), 403)); // Get the options from the session $options = (new InstallationModelSetup)->getOptions(); diff --git a/installation/controller/install/database.php b/installation/controller/install/database.php index 207f4efd5eee4..308055399baf7 100644 --- a/installation/controller/install/database.php +++ b/installation/controller/install/database.php @@ -30,7 +30,7 @@ public function execute() $app = $this->getApplication(); // Check for request forgeries. - //JSession::checkToken() or $app->sendJsonResponse(new Exception(JText::_('JINVALID_TOKEN'), 403)); + JSession::checkToken() or $app->sendJsonResponse(new Exception(JText::_('JINVALID_TOKEN'), 403)); (new InstallationModelSetup)->checkForm('setup'); // Get the options from the session