Browse Source

API endpoint: disable session cookies

Andrew Dolgov 10 months ago
parent
commit
8064ca3f8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api/index.php

+ 1 - 0
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);