mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
[mpd] Fix: allow password command when not authenticated
This commit is contained in:
parent
b46a035a2f
commit
277e5001a0
@ -4545,7 +4545,7 @@ mpd_process_command(char *line, struct evbuffer *output, int cmd_num, struct mpd
|
||||
command->min_argc, argc);
|
||||
mpd_err_code = ACK_ERROR_ARG;
|
||||
}
|
||||
else if (!client_ctx->authenticated)
|
||||
else if (!client_ctx->authenticated && strcmp(cmd_name, "password") != 0)
|
||||
{
|
||||
errmsg = safe_asprintf("Not authenticated");
|
||||
mpd_err_code = ACK_ERROR_PERMISSION;
|
||||
|
Loading…
x
Reference in New Issue
Block a user