mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
Fix auth problems on passworded shares, fixing ticket #205
This commit is contained in:
@@ -201,6 +201,8 @@ int plugin_auth(WS_CONNINFO *pwsc, char *username, char *password) {
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
if(strncasecmp(uri,"/logout",7) == 0)
|
if(strncasecmp(uri,"/logout",7) == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
if(strncasecmp(uri,"/databases/1/items/",19) == 0)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
readpassword = _ppi->conf_alloc_string("general","password",NULL);
|
readpassword = _ppi->conf_alloc_string("general","password",NULL);
|
||||||
if(password == NULL) { /* testing to see if we need a pw */
|
if(password == NULL) { /* testing to see if we need a pw */
|
||||||
|
|||||||
Reference in New Issue
Block a user