From 52004231a2571365023404dc6b7234b358a2ad5b Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 12 Apr 2015 09:22:08 +0100 Subject: [PATCH] added exit after redirect --- html/includes/authenticate.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/includes/authenticate.inc.php b/html/includes/authenticate.inc.php index 28877973a7..e64465a35e 100644 --- a/html/includes/authenticate.inc.php +++ b/html/includes/authenticate.inc.php @@ -110,6 +110,7 @@ if ((isset($_SESSION['username'])) || (isset($_COOKIE['sess_id'],$_COOKIE['token $permissions = permissions_cache($_SESSION['user_id']); if (isset($_POST['username'])) { header('Location: '.$_SERVER['REQUEST_URI'],TRUE,303); + exit; } } elseif (isset($_SESSION['username']))