summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-04 15:33:14 +0400
committerAndrew Dolgov <[email protected]>2013-04-04 15:33:14 +0400
commit9ce7a5546c6d9cca8aa8be524d43c735e2bd7182 (patch)
treefd2326ab8a39f19737b391da537f3065d0b8fa55 /api
parent82d77deb2876df4aac8536108404b93e20fd407b (diff)
implement some tweaks to session handling; properly remove session cookie if invalid/login failed
Diffstat (limited to 'api')
-rw-r--r--api/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/index.php b/api/index.php
index 50703175b..53b78b010 100644
--- a/api/index.php
+++ b/api/index.php
@@ -11,6 +11,7 @@
chdir("..");
define('TTRSS_SESSION_NAME', 'ttrss_api_sid');
+ define('NO_SESSION_AUTOSTART', true);
require_once "db.php";
require_once "db-prefs.php";