kopia lustrzana https://github.com/miklobit/TiddlyWiki5
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.print-window-tiddler
rodzic
7a99fb1250
commit
50e1727ef7
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue