mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 10:13:45 -04:00
Fix auth problems on passworded shares, fixing ticket #205
This commit is contained in:
parent
1528165250
commit
3d352427f6
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user