diff --git a/include/sessions.php b/include/sessions.php index f625cd16f..2d17bfd8e 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -160,5 +160,9 @@ if (!defined('NO_SESSION_AUTOSTART')) { if (isset($_COOKIE[session_name()])) { @session_start(); + + if (!$_SESSION['uid']) { + logout_user(); + } } }