Update HTTPHandler.cpp

This commit is contained in:
alexey-milovidov 2017-09-24 02:20:58 +03:00
parent e3694e479b
commit b205a2b970

View File

@ -246,7 +246,7 @@ void HTTPHandler::processQuery(
|| params.has("password")
|| params.has("quota_key"))
{
throw Exception("Invalid authorization", ErrorCodes::REQUIRED_PASSWORD);
throw Exception("Invalid authentication: it is not allowed to use X-ClickHouse HTTP headers and other authentication methods simultaneously", ErrorCodes::REQUIRED_PASSWORD);
}
}