Settings: when restarting via UI, tell the admins to ignore a warning about sessionKey

Fixes #3770.
This commit is contained in:
John McLear 2020-03-28 17:11:42 +00:00 committed by muxator
parent 7a999ee398
commit 1ad6e9c288

View file

@ -698,7 +698,7 @@ exports.reloadSettings = function reloadSettings() {
fs.writeFileSync(sessionkeyFilename,exports.sessionKey,"utf8");
}
} else {
console.warn("Declaring the sessionKey in the settings.json is deprecated. This value is auto-generated now. Please remove the setting from the file.");
console.warn("Declaring the sessionKey in the settings.json is deprecated. This value is auto-generated now. Please remove the setting from the file. -- If you are seeing this error after restarting using the Admin User Interface then you can ignore this message.");
}
if (exports.dbType === "dirty") {