mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-14 13:32:59 +01:00
🔨 Add logs for protected
This commit is contained in:
parent
27bda4d1c6
commit
02d2fd9ae3
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user