From: Andrew Dolgov Date: Mon, 15 Oct 2018 04:37:07 +0000 (+0300) Subject: API endpoint: disable session cookies X-Git-Tag: 18.12~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8064ca3f8cac423ac688c26318d96238147c181c;p=tt-rss.git API endpoint: disable session cookies --- diff --git a/api/index.php b/api/index.php index ed3c0394..3fbf6bf5 100644 --- a/api/index.php +++ b/api/index.php @@ -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);