mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix authorization default for nonlistener
This commit is contained in:
parent
6535cdd899
commit
30bd87ceb3
@ -171,6 +171,7 @@ void JsonAPI::handleMessage(const QString &messageString, const QString &httpAut
|
|||||||
|
|
||||||
if (_noListener)
|
if (_noListener)
|
||||||
{
|
{
|
||||||
|
setAuthorization(false);
|
||||||
if(cmd.isNolistenerCmd == NoListenerCmd::No)
|
if(cmd.isNolistenerCmd == NoListenerCmd::No)
|
||||||
{
|
{
|
||||||
sendErrorReply("Command not supported via single API calls using HTTP/S", cmd);
|
sendErrorReply("Command not supported via single API calls using HTTP/S", cmd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user