api: lower maximum lifetime of api sessions

This commit is contained in:
Andrew Dolgov 2013-03-28 09:48:14 +04:00
parent 25db6c5191
commit 3f0094189c

View file

@ -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 &&