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