From 50e1727ef725e6f2b69c99aa6f342ec7e1b906af Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 11 Dec 2013 07:45:36 +0000 Subject: [PATCH] Stop falling back to anonymous username MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `serve` command used to fallback the username parameter to “ANONYMOUS” if it was not provided. Better is just to not set a username if it is not provided; newly created tiddlers won’t get a ‘modifier’ field at all. --- core/modules/commands/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/commands/server.js b/core/modules/commands/server.js index 19ac526fb..24771bb72 100644 --- a/core/modules/commands/server.js +++ b/core/modules/commands/server.js @@ -255,7 +255,7 @@ Command.prototype.execute = function() { rootTiddler = this.params[1] || "$:/core/save/all", renderType = this.params[2] || "text/plain", serveType = this.params[3] || "text/html", - username = this.params[4] || "ANONYMOUS", + username = this.params[4], password = this.params[5]; this.server.set({ rootTiddler: rootTiddler,