diff options
Diffstat (limited to 'plugins/webbox')
| -rw-r--r-- | plugins/webbox/html/webbox.js | 12 | 
1 files changed, 1 insertions, 11 deletions
| diff --git a/plugins/webbox/html/webbox.js b/plugins/webbox/html/webbox.js index 9b3a486..54adeaf 100644 --- a/plugins/webbox/html/webbox.js +++ b/plugins/webbox/html/webbox.js @@ -321,17 +321,7 @@ function initMainpage() {  		}  		if (this.status == 401) { // login error: goto login page  			var authheader = this.getResponseHeader("WWW-Authenticate"); -			var title = "Webbox"; -			// For web servers with standard AUTH BASIC, triggering problems in -			// client browsers, popping up the browser's "Authenticate" window -			// but we want our own -			if (authheader.startsWith("Basic realm=\"") && authheader.endsWith("\"")) { -				title = authheader.substr(13, authheader.length - 14); -			} else -			// Fixed up Apache server -			if (authheader.startsWith("SR_Basic realm=\"") && authheader.endsWith("\"")) { -				title = authheader.substr(16, authheader.length - 17); -			} +			var title = "Webbox Login";  			// enable logout function if logging in  			document.getElementById("logoutcommand").style.display = "table-row"; | 
