From 3f0094189c273e6e24bf61e6c24d129918cee14e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 09:48:14 +0400 Subject: [PATCH] api: lower maximum lifetime of api sessions --- api/index.php | 2 ++ 1 file changed, 2 insertions(+) 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 && -- 2.39.5