mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 07:53:23 -05:00
Fix problem with remotely accessing config page
This commit is contained in:
parent
7b19b6f533
commit
c0e5416071
@ -392,6 +392,9 @@ int config_auth(WS_CONNINFO *pwsc, char *user, char *password) {
|
|||||||
if(!adminpassword)
|
if(!adminpassword)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if(!password)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
res = !strcmp(password,adminpassword);
|
res = !strcmp(password,adminpassword);
|
||||||
free(adminpassword);
|
free(adminpassword);
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user