1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00

Stop falling back to anonymous username

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.
This commit is contained in:
Jermolene 2013-12-11 07:45:36 +00:00
parent 7a99fb1250
commit 50e1727ef7

View File

@ -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,