diff --git a/include/auth.php b/include/auth.php index ccaa970de1..5d7ac436b1 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()); }