summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/csrf/csrf-magic.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/csrf/csrf-magic.php')
-rw-r--r--src/usr/local/www/csrf/csrf-magic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/csrf/csrf-magic.php b/src/usr/local/www/csrf/csrf-magic.php
index c8f8ce4..bc7eead 100644
--- a/src/usr/local/www/csrf/csrf-magic.php
+++ b/src/usr/local/www/csrf/csrf-magic.php
@@ -201,6 +201,7 @@ function csrf_check($fatal = true) {
$callback = $GLOBALS['csrf']['callback'];
if (trim($tokens, 'A..Za..z0..9:;,') !== '') $tokens = 'hidden';
$callback($tokens);
+ phpsession_end();
exit;
}
return $ok;
OpenPOWER on IntegriCloud