Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
conseilgouz committed Mar 14, 2024
1 parent 3a320c3 commit 147f97d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions com_cgsecure_changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</note>
<fix>
<item>Admin : hide recreate button if activate button is clicked </item>
<item>Admin : checktoken</item>
<item>uninstall : uninstall everything in unisntall admin</item>
</fix>
</changelog>
Expand Down
7 changes: 4 additions & 3 deletions packages/com_cgsecure/admin/tmpl/config/default.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?php
/**
* @component CG Secure
* Version : 3.0.11
* Version : 3.1.1
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
* @copyright (C) 2024 ConseilGouz. All Rights Reserved.
* @author ConseilGouz
**/

defined('_JEXEC') or die('Restricted access');

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session;

HTMLHelper::_('jquery.framework'); // Force Jquery load
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
Expand Down Expand Up @@ -51,7 +52,7 @@
echo HTMLHelper::_('uitab.endTabSet');
?>
</div>
<?php echo HTMLHelper::_('form.token'); ?>
<input id="token" type="hidden" name="<?php echo Session::getFormToken();?>" value="1" />';
<input type="hidden" name="task" value="" />
<input type="hidden" name="name" value="config" />
</form>
Expand Down

0 comments on commit 147f97d

Please sign in to comment.