mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-11 03:32:20 -08:00
Remove obsolete code
This commit is contained in:
parent
bdb68fea6d
commit
8a91c07fa9
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue