mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +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:
		| @@ -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, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jermolene
					Jermolene