Commit 37150fe0 authored by Marvin Scholz's avatar Marvin Scholz

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
parent d739c65e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment