mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[httpd/mpd] Adjustments to commit #69ff42f
This commit is contained in:
@@ -284,7 +284,7 @@ rsp_request_authorize(struct httpd_request *hreq)
|
||||
char *passwd;
|
||||
int ret;
|
||||
|
||||
if (httpd_peer_is_trusted(hreq->req))
|
||||
if (peer_address_is_trusted(hreq->peer_address))
|
||||
return 0;
|
||||
|
||||
passwd = cfg_getstr(cfg_getsec(cfg, "library"), "password");
|
||||
|
||||
Reference in New Issue
Block a user