Sfoglia il codice sorgente

remove session check/destroy stuff, looks problematic

Andrew Dolgov 11 anni fa
parent
commit
6f431804a9
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      include/sessions.php

+ 0 - 5
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, '/');
-			}
 		}
 	}
 ?>