Skip to content

Commit

Permalink
unmute sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko committed Aug 19, 2017
1 parent 8f18075 commit 520b8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installation/controller/install/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 520b8d9

Please sign in to comment.