🔨 Add logs for protected

This commit is contained in:
SebClem 2022-04-30 16:06:02 +02:00
parent 27bda4d1c6
commit 02d2fd9ae3
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -268,7 +268,9 @@ function createNewBackup(name) {
folders: folders
},
};
if (settingsTools.getSettings().password_protected === "true") {
let password_protected = settingsTools.getSettings().password_protected;
logger.debug(`Is password protected ? ${password_protected}`)
if ( password_protected === "true") {
option.json.password = settingsTools.getSettings().password_protect_value
}