diff options
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php index 5e454745e..387cab0af 100644 --- a/include/auth.php +++ b/include/auth.php @@ -7,6 +7,7 @@ if((x($_SESSION,'authenticated')) && (! ($_POST['auth-params'] == 'login'))) { unset($_SESSION['authenticated']); unset($_SESSION['uid']); unset($_SESSION['visitor_id']); + unset($_SESSION['is_visitor']); unset($_SESSION['administrator']); unset($_SESSION['cid']); $_SESSION['sysmsg'] = "Logged out." . EOL; @@ -34,6 +35,7 @@ else { unset($_SESSION['authenticated']); unset($_SESSION['uid']); unset($_SESSION['visitor_id']); + unset($_SESSION['is_visitor']); unset($_SESSION['administrator']); unset($_SESSION['cid']); $encrypted = hash('whirlpool',trim($_POST['password'])); |