csrf
This commit is contained in:
parent
2414c165dd
commit
0ff2437d5c
@ -81,6 +81,7 @@
|
||||
$VisitTypeInfo = new \App\LobbySIO\Database\VisitTypeInfo(); // ADDITIONAL CLASSES
|
||||
$IDTypeInfo = new \App\LobbySIO\Database\IDTypeInfo();
|
||||
$VisitInfo = new \App\LobbySIO\Database\VisitInfo();
|
||||
Classes\Misc\Csrf::removeToken('home');
|
||||
$VisitActions = new \App\LobbySIO\Database\VisitActions();
|
||||
$app_current_pagename = $transLang['STR_COMMON_HOME']; // PAGE SETUP
|
||||
$app_current_pageicon = '<i class="fas fa-home"></i> ';
|
||||
|
@ -50,6 +50,7 @@
|
||||
require_once("inc/header.inc.php");
|
||||
if ($StaticFunctions->getSessionStatus() == false) { // CHECK STATUS
|
||||
echo $StaticFunctions->killSession(); // ELSE DIE
|
||||
Classes\Misc\Csrf::removeToken('home');
|
||||
} else { ?>
|
||||
<!-- CONTENT START -->
|
||||
|
||||
|
@ -77,6 +77,7 @@
|
||||
$app_current_pagename = $transLang['ACCOUNT']; // PAGE SETUP
|
||||
$app_current_pageicon = '<i class="fas fa-user-circle"></i> ';
|
||||
require_once("inc/header.inc.php");
|
||||
Classes\Misc\Csrf::removeToken('home');
|
||||
if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS
|
||||
echo $StaticFunctions->killSession(); // ELSE DIE
|
||||
} else { ?>
|
||||
|
@ -83,6 +83,7 @@
|
||||
$app_current_pagename = $transLang['REPORTS']; // PAGE SETUP
|
||||
$app_current_pageicon = '<i class="fas fa-chart-pie"></i> ';
|
||||
require_once("inc/header.inc.php");
|
||||
Classes\Misc\Csrf::removeToken('home');
|
||||
if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS
|
||||
echo $StaticFunctions->killSession(); // ELSE DIE
|
||||
} else { ?>
|
||||
|
Loading…
Reference in New Issue
Block a user