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