mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-21 12:07:08 +02:00
Read users and roles, remove JWT
This commit is contained in:
parent
9247588764
commit
42f4c39e6c
13 changed files with 144 additions and 68 deletions
|
@ -448,6 +448,7 @@ 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";
|
||||
auto ec = authinfo.authenticate(std::string{authheader});
|
||||
if (ec)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue