Added check that backup path is not in meshcentral-data folder, #3266

This commit is contained in:
Ylian Saint-Hilaire
2021-11-09 00:03:39 -08:00
parent 6297a2ef53
commit 3a42b84315
2 changed files with 8 additions and 1 deletions

View File

@@ -2219,7 +2219,8 @@
17: "SendGrid server has limited use in LAN mode.",
18: "SMTP server has limited use in LAN mode.",
19: "SMS gateway has limited use in LAN mode.",
20: "Invalid \"LoginCookieEncryptionKey\" in config.json."
20: "Invalid \"LoginCookieEncryptionKey\" in config.json.",
21: "Backup path can't be set within meshcentral-data folder, backup settings ignored."
};
var x = '';
for (var i in message.warnings) {