mirror of https://github.com/keeweb/keeweb
fixed config writing
parent
ccce95d4fe
commit
a7193fd783
|
@ -823,7 +823,7 @@ function saveConfig(name, data, key) {
|
|||
|
||||
data = Buffer.from(data);
|
||||
|
||||
if (configEncryptionKey) {
|
||||
if (key) {
|
||||
const crypto = require('crypto');
|
||||
const cipher = crypto.createCipheriv(
|
||||
'aes-256-cbc',
|
||||
|
|
Loading…
Reference in New Issue