diff --git a/restapi/index.php b/restapi/index.php index e1685aba9..21206b0b4 100644 --- a/restapi/index.php +++ b/restapi/index.php @@ -3141,7 +3141,7 @@ class RestapiAuthMiddleware implements MiddlewareInterface { /* {{{ */ $logger->log("Received preflight options request", PEAR_LOG_DEBUG); } elseif(!in_array($path, array('/login')) && substr($path, 0, 6) != '/echo/' && $path != '/version') { $userobj = null; - $logger->log(var_export($environment, true), PEAR_LOG_DEBUG); +// $logger->log(var_export($environment, true), PEAR_LOG_DEBUG); if(!empty($environment['HTTP_AUTHORIZATION']) && !empty($settings->_apiKey) && !empty($settings->_apiUserId)) { $logger->log("Authorization key: ".$environment['HTTP_AUTHORIZATION'], PEAR_LOG_DEBUG); if($settings->_apiKey == $environment['HTTP_AUTHORIZATION']) {