api: lower maximum lifetime of api sessions
This commit is contained in:
parent
25db6c5191
commit
3f0094189c
|
@ -17,6 +17,8 @@
|
||||||
require_once "functions.php";
|
require_once "functions.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
|
|
||||||
|
ini_set("session.gc_maxlifetime", 86400);
|
||||||
|
|
||||||
define('AUTH_DISABLE_OTP', true);
|
define('AUTH_DISABLE_OTP', true);
|
||||||
|
|
||||||
if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT &&
|
if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT &&
|
||||||
|
|
Loading…
Reference in New Issue