diff --git a/include/functions.php b/include/functions.php index c05ee0a49..05f184eaf 100644 --- a/include/functions.php +++ b/include/functions.php @@ -754,6 +754,11 @@ if (!$_SESSION["uid"]) render_login_form($link); + @session_destroy(); + setcookie(session_name(), '', time()-42000, '/'); + + exit; + } else { /* bump login timestamp */ db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " .