1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix STATS legacy authentication

This fixes the issue that auth for STATS method always fails, by
adding stats method to legacy admin auth in cfgfile.c
This commit is contained in:
Marvin Scholz 2016-02-09 20:27:10 +01:00
parent d739c65e54
commit 37150fe020

View File

@ -1789,7 +1789,7 @@ static void _parse_authentication(xmlDocPtr doc, xmlNodePtr node,
if (admin_password && admin_username)
__append_old_style_auth(&old_style, "legacy-admin", AUTH_TYPE_STATIC,
admin_username, admin_password, NULL, "get,post,head", 1, "*");
admin_username, admin_password, NULL, "get,post,head,stats", 1, "*");
if (relay_password && relay_username)
__append_old_style_auth(&old_style, "legacy-relay", AUTH_TYPE_STATIC,