From: Jaroslav Kysela Date: Mon, 24 Apr 2017 15:09:24 +0000 (+0200) Subject: webui: root page - serve redirect without authentication (to bypass Edge issue) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedc8921fb4a6d14d12254e38808ea931519a294;p=thirdparty%2Ftvheadend.git webui: root page - serve redirect without authentication (to bypass Edge issue) --- diff --git a/src/webui/webui.c b/src/webui/webui.c index 993d2d232..0bac6cf37 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -1897,7 +1897,8 @@ webui_init(int xspf) tvheadend_webroot = s; http_path_add("", NULL, page_root2, ACCESS_WEB_INTERFACE); - http_path_add("/", NULL, page_root, ACCESS_WEB_INTERFACE); + hp = http_path_add("/", NULL, page_root, ACCESS_WEB_INTERFACE); + hp->hp_no_verification = 1; /* redirect only */ http_path_add("/login", NULL, page_login, ACCESS_WEB_INTERFACE); hp = http_path_add("/logout", NULL, page_logout, ACCESS_WEB_INTERFACE); hp->hp_no_verification = 1;