]> git.wh0rd.org - tt-rss.git/blobdiff - api/index.php
api: add workaround to disable OTP
[tt-rss.git] / api / index.php
index 2d555678fec25ffb9d523294bbab5b4809ccf17b..c3199857be63d859d279492f6d9c57e8d353b158 100644 (file)
@@ -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")) {