mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 23:43: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)
|
||||
return FALSE;
|
||||
|
||||
if(!password)
|
||||
return FALSE;
|
||||
|
||||
res = !strcmp(password,adminpassword);
|
||||
free(adminpassword);
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user