aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/auth.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php
index ccaa970de..5d7ac436b 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -28,6 +28,8 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
);
if(! count($r)) {
+ unset($_SESSION['authenticated']);
+ unset($_SESSION['uid']);
goaway($a->get_baseurl());
}