mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	removed username/password from setup
This commit is contained in:
		| @@ -12,9 +12,7 @@ function initDocumentOptions() { | ||||
|     optionService.createOption('documentSecret', utils.randomSecureToken(16), false); | ||||
| } | ||||
|  | ||||
| function initSyncedOptions(username, password) { | ||||
|     optionService.createOption('username', username, true); | ||||
|  | ||||
| function initPassword(username, password) { | ||||
|     optionService.createOption('passwordVerificationSalt', utils.randomSecureToken(32), true); | ||||
|     optionService.createOption('passwordDerivedKeySalt', utils.randomSecureToken(32), true); | ||||
|  | ||||
| @@ -129,7 +127,7 @@ function getKeyboardDefaultOptions() { | ||||
|  | ||||
| module.exports = { | ||||
|     initDocumentOptions, | ||||
|     initSyncedOptions, | ||||
|     initPassword, | ||||
|     initNotSyncedOptions, | ||||
|     initStartupOptions | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user