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:
parent
7a99fb1250
commit
50e1727ef7
@ -255,7 +255,7 @@ Command.prototype.execute = function() {
|
|||||||
rootTiddler = this.params[1] || "$:/core/save/all",
|
rootTiddler = this.params[1] || "$:/core/save/all",
|
||||||
renderType = this.params[2] || "text/plain",
|
renderType = this.params[2] || "text/plain",
|
||||||
serveType = this.params[3] || "text/html",
|
serveType = this.params[3] || "text/html",
|
||||||
username = this.params[4] || "ANONYMOUS",
|
username = this.params[4],
|
||||||
password = this.params[5];
|
password = this.params[5];
|
||||||
this.server.set({
|
this.server.set({
|
||||||
rootTiddler: rootTiddler,
|
rootTiddler: rootTiddler,
|
||||||
|
Loading…
Reference in New Issue
Block a user