Commit 3f009418 authored by Andrew Dolgov's avatar Andrew Dolgov

api: lower maximum lifetime of api sessions

parent 25db6c51
......@@ -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 &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment