From: Andrew Dolgov Date: Wed, 3 Apr 2013 15:13:23 +0000 (+0400) Subject: remove session check/destroy stuff, looks problematic X-Git-Tag: 1.7.7~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6f431804a907027dd5dd33b5284b7386b29710fb;p=tt-rss.git remove session check/destroy stuff, looks problematic --- diff --git a/include/sessions.php b/include/sessions.php index 539b81a0..15178915 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -181,11 +181,6 @@ if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') { if (isset($_COOKIE[$session_name])) { @session_start(); - - if (!isset($_SESSION["uid"]) || !$_SESSION["uid"] || !validate_session($session_connection)) { - session_destroy(); - setcookie(session_name(), '', time()-42000, '/'); - } } } ?>