remove session check/destroy stuff, looks problematic
This commit is contained in:
parent
e3ca32a818
commit
6f431804a9
|
@ -181,11 +181,6 @@
|
||||||
if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') {
|
if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') {
|
||||||
if (isset($_COOKIE[$session_name])) {
|
if (isset($_COOKIE[$session_name])) {
|
||||||
@session_start();
|
@session_start();
|
||||||
|
|
||||||
if (!isset($_SESSION["uid"]) || !$_SESSION["uid"] || !validate_session($session_connection)) {
|
|
||||||
session_destroy();
|
|
||||||
setcookie(session_name(), '', time()-42000, '/');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue