]> git.wh0rd.org Git - tt-rss.git/commitdiff
API endpoint: disable session cookies
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 15 Oct 2018 04:37:07 +0000 (07:37 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 15 Oct 2018 04:37:07 +0000 (07:37 +0300)
api/index.php

index ed3c0394a48c2d5fb50f09990a09b12fee7fc36d..3fbf6bf575e914e271080b3a850be667790d9d3f 100644 (file)
@@ -19,6 +19,7 @@
        require_once "functions.php";
        require_once "sessions.php";
 
+       ini_set('session.use_cookies', 0);
        ini_set("session.gc_maxlifetime", 86400);
 
        define('AUTH_DISABLE_OTP', true);