mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Check admin password against the correct username
svn path=/trunk/icecast/; revision=4416
This commit is contained in:
parent
a79f0b6cae
commit
f8783aedac
@ -459,7 +459,7 @@ int connection_check_admin_pass(http_parser_t *parser)
|
||||
if(!pass || !user)
|
||||
return 0;
|
||||
|
||||
return _check_pass_http(parser, "admin", pass);
|
||||
return _check_pass_http(parser, user, pass);
|
||||
}
|
||||
|
||||
int connection_check_source_pass(http_parser_t *parser, char *mount)
|
||||
|
Loading…
Reference in New Issue
Block a user