From: Andrew Dolgov Date: Thu, 28 Mar 2013 05:48:14 +0000 (+0400) Subject: api: lower maximum lifetime of api sessions X-Git-Tag: 1.7.6~220 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3f0094189c273e6e24bf61e6c24d129918cee14e;p=tt-rss.git api: lower maximum lifetime of api sessions --- diff --git a/api/index.php b/api/index.php index d248c4f8..a1143a1d 100644 --- a/api/index.php +++ b/api/index.php @@ -17,6 +17,8 @@ require_once "functions.php"; require_once "sessions.php"; + ini_set("session.gc_maxlifetime", 86400); + define('AUTH_DISABLE_OTP', true); if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT &&