diff options
author | Andrew Dolgov <[email protected]> | 2012-09-03 22:32:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-03 22:32:24 +0400 |
commit | 02cd6de12835fb470537b65d0b8adae925dd8bcb (patch) | |
tree | 28c76b47cceb84e7b6427feb59a8575cf68f6436 /api | |
parent | 4e70344bbf4d7e2d0a9e5a87c6c10973b519cafa (diff) |
api: add workaround to disable OTP
Diffstat (limited to 'api')
-rw-r--r-- | api/index.php | 2 |
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")) { |