mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
cleanup
This commit is contained in:
parent
5a37547b37
commit
698ffd886d
@ -28,7 +28,7 @@ function getDataKey(password) {
|
|||||||
|
|
||||||
const encryptedDataKey = optionService.getOption('encryptedDataKey');
|
const encryptedDataKey = optionService.getOption('encryptedDataKey');
|
||||||
|
|
||||||
const decryptedDataKey = dataEncryptionService.decrypt(passwordDerivedKey, encryptedDataKey, 16);
|
const decryptedDataKey = dataEncryptionService.decrypt(passwordDerivedKey, encryptedDataKey);
|
||||||
|
|
||||||
return decryptedDataKey;
|
return decryptedDataKey;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user