mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-29 14:28:42 +02:00
Disable auth
This commit is contained in:
parent
1a9d0b3516
commit
958310d9bd
4 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue