mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
add links in ckeditor
This commit is contained in:
@@ -14,7 +14,7 @@ async function verifyPassword(password) {
|
||||
async function setDataKey(password, plainTextDataKey) {
|
||||
const passwordDerivedKey = await my_scrypt.getPasswordDerivedKey(password);
|
||||
|
||||
const encryptedDataKeyIv = utils.randomSecureToken(16).slice(0, 16);
|
||||
const encryptedDataKeyIv = utils.randomString(16);
|
||||
|
||||
await options.setOption('encrypted_data_key_iv', encryptedDataKeyIv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user