From a6013c4b2250ea6ad361a8d7bbf9f2c94c92b405 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Mon, 23 Jul 2018 17:07:13 +0200 Subject: [PATCH] fixed gh-325 that caused a security token validation error. --- README.md | 2 +- admin/README.txt | 2 +- admin/controllers/joomla_components.php | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9aba28545..0b2f2c660 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Version*: 2.8.4 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186365** ++ *Line count*: **186363** + *Field count*: **1059** + *File count*: **1239** + *Folder count*: **197** diff --git a/admin/README.txt b/admin/README.txt index 9aba28545..0b2f2c660 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo + *Version*: 2.8.4 + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **186365** ++ *Line count*: **186363** + *Field count*: **1059** + *File count*: **1239** + *Folder count*: **197** diff --git a/admin/controllers/joomla_components.php b/admin/controllers/joomla_components.php index dfc2ed157..c85b312af 100644 --- a/admin/controllers/joomla_components.php +++ b/admin/controllers/joomla_components.php @@ -97,8 +97,6 @@ class ComponentbuilderControllerJoomla_components extends JControllerAdmin public function smartImport() { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); // check if import is allowed for this user. $user = JFactory::getUser(); if ($user->authorise('joomla_component.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder'))