Disable auth

This commit is contained in:
badaix 2025-06-05 21:34:24 +02:00 committed by Johannes Pohl
parent 1a9d0b3516
commit 958310d9bd
4 changed files with 6 additions and 3 deletions

View file

@ -448,7 +448,8 @@ void ControlSessionHttp::on_read(beast::error_code ec, std::size_t bytes_transfe
auto authheader = req_[beast::http::field::authorization];
if (!authheader.empty())
{
LOG(INFO, LOG_TAG) << "Auth header: " << authheader << "\n";
// TODO: don't log passwords
// LOG(INFO, LOG_TAG) << "Auth header: " << authheader << "\n";
auto ec = authinfo.authenticate(std::string{authheader});
if (ec)
{