From 8064ca3f8cac423ac688c26318d96238147c181c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Oct 2018 07:37:07 +0300 Subject: [PATCH] API endpoint: disable session cookies --- api/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/index.php b/api/index.php index ed3c0394a..3fbf6bf57 100644 --- a/api/index.php +++ b/api/index.php @@ -19,6 +19,7 @@ require_once "functions.php"; require_once "sessions.php"; + ini_set('session.use_cookies', 0); ini_set("session.gc_maxlifetime", 86400); define('AUTH_DISABLE_OTP', true);