mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
Merge pull request #274 from bjoernricks/anon-content-code
Allow anonymous access to /content-codes url
This commit is contained in:
commit
6064f14602
@ -2776,6 +2776,7 @@ daap_request(struct evhttp_request *req)
|
||||
/* No authentication for these URIs */
|
||||
if ((strcmp(uri, "/server-info") == 0)
|
||||
|| (strcmp(uri, "/logout") == 0)
|
||||
|| (strcmp(uri, "/content-codes") == 0)
|
||||
|| (strncmp(uri, "/databases/1/items/", strlen("/databases/1/items/")) == 0))
|
||||
passwd = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user