diff --git a/index.php b/index.php index c151323..ac5fe0a 100644 --- a/index.php +++ b/index.php @@ -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 = ' '; diff --git a/logout.php b/logout.php index 7f09ac0..733074d 100644 --- a/logout.php +++ b/logout.php @@ -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 { ?> diff --git a/profile.php b/profile.php index d30c037..9573afc 100644 --- a/profile.php +++ b/profile.php @@ -77,6 +77,7 @@ $app_current_pagename = $transLang['ACCOUNT']; // PAGE SETUP $app_current_pageicon = ' '; require_once("inc/header.inc.php"); + Classes\Misc\Csrf::removeToken('home'); if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS echo $StaticFunctions->killSession(); // ELSE DIE } else { ?> diff --git a/reports.php b/reports.php index 8d7e4a4..b6206f4 100644 --- a/reports.php +++ b/reports.php @@ -83,6 +83,7 @@ $app_current_pagename = $transLang['REPORTS']; // PAGE SETUP $app_current_pageicon = ' '; require_once("inc/header.inc.php"); + Classes\Misc\Csrf::removeToken('home'); if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS echo $StaticFunctions->killSession(); // ELSE DIE } else { ?>