From 02cd6de12835fb470537b65d0b8adae925dd8bcb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 3 Sep 2012 22:32:24 +0400 Subject: api: add workaround to disable OTP --- api/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') diff --git a/api/index.php b/api/index.php index 2d555678f..c3199857b 100644 --- a/api/index.php +++ b/api/index.php @@ -14,6 +14,8 @@ require_once "db-prefs.php"; require_once "functions.php"; + define('AUTH_DISABLE_OTP', true); + if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT && function_exists("ob_gzhandler")) { -- cgit v1.2.3