From: Mark Clarkstone Date: Mon, 27 Mar 2017 14:11:49 +0000 (+0100) Subject: webui: try and prevent login loops by replacing the "Default Login" link with logout X-Git-Tag: v4.2.1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=751cda945f444894c6540adfedc3b294373205f9;p=thirdparty%2Ftvheadend.git webui: try and prevent login loops by replacing the "Default Login" link with logout --- diff --git a/src/http.c b/src/http.c index 321a25dbd..f2baf6268 100644 --- a/src/http.c +++ b/src/http.c @@ -580,7 +580,7 @@ http_error(http_connection_t *hc, int error) error, errtxt, error, errtxt); if (error == HTTP_STATUS_UNAUTHORIZED) - htsbuf_qprintf(&hc->hc_reply, "

Default Login

", + htsbuf_qprintf(&hc->hc_reply, "

Default Login

", tvheadend_webroot ? tvheadend_webroot : ""); htsbuf_append_str(&hc->hc_reply, "\r\n");