summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-03 22:32:24 +0400
committerAndrew Dolgov <[email protected]>2012-09-03 22:32:24 +0400
commit02cd6de12835fb470537b65d0b8adae925dd8bcb (patch)
tree28c76b47cceb84e7b6427feb59a8575cf68f6436 /api
parent4e70344bbf4d7e2d0a9e5a87c6c10973b519cafa (diff)
api: add workaround to disable OTP
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 2 insertions, 0 deletions
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")) {