mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:25:54 +00:00
if empty session is autostarted because of a cookie, immediately destroy it
This commit is contained in:
@@ -160,5 +160,9 @@
|
||||
if (!defined('NO_SESSION_AUTOSTART')) {
|
||||
if (isset($_COOKIE[session_name()])) {
|
||||
@session_start();
|
||||
|
||||
if (!$_SESSION['uid']) {
|
||||
logout_user();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user