You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
reencrypt -> re-encrypt
This commit is contained in:
@ -667,8 +667,8 @@ class BaseApplication {
|
||||
}
|
||||
|
||||
if (Setting.value('encryption.shouldReencrypt') < 0) {
|
||||
// We suggest reencryption if the user has at least one notebook
|
||||
// and if encryptino is enabled. This code runs only when shouldReencrypt = -1
|
||||
// We suggest re-encryption if the user has at least one notebook
|
||||
// and if encryption is enabled. This code runs only when shouldReencrypt = -1
|
||||
// which can be set by a maintenance script for example.
|
||||
const folderCount = await Folder.count();
|
||||
const itShould = Setting.value('encryption.enabled') && !!folderCount ? Setting.SHOULD_REENCRYPT_YES : Setting.SHOULD_REENCRYPT_NO;
|
||||
|
Reference in New Issue
Block a user