]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove session check/destroy stuff, looks problematic
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 3 Apr 2013 15:13:23 +0000 (19:13 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 3 Apr 2013 15:13:23 +0000 (19:13 +0400)
include/sessions.php

index 539b81a0619f1770779dea3b42e0f5721f475ea3..15178915a8934bf10170c9144797a1dce708c988 100644 (file)
        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, '/');
-                       }
                }
        }
 ?>