From 8a91c07fa9501295f9d8635ee8de27f74dc1bd0e Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 27 Jun 2018 09:47:05 +0100 Subject: [PATCH] Remove obsolete code --- core/modules/server/authenticators/header.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/server/authenticators/header.js b/core/modules/server/authenticators/header.js index 95a7ffe28..4b17cc468 100644 --- a/core/modules/server/authenticators/header.js +++ b/core/modules/server/authenticators/header.js @@ -32,7 +32,6 @@ HeaderAuthenticator.prototype.authenticateRequest = function(request,response,st // Otherwise, authenticate as the username in the specified header var username = request.headers[this.header]; if(!username) { - var servername = state.wiki.getTiddlerText("$:/SiteTitle") || "TiddlyWiki5"; response.writeHead(401,"Authorization header required to login to '" + state.server.servername + "'"); response.end(); return false;