Update credentials.js

This commit is contained in:
Sam Machin
2022-03-22 21:18:11 +00:00
committed by GitHub
parent 97dd1d0f4f
commit 855d799b21

View File

@@ -241,11 +241,11 @@ var api = module.exports = {
} else {
if (encryptionEnabled) {
// Our config expects the credentials to be encrypted but the encrypted object is not found
log.warn(log._("nodes.credentials.encryptednotfound",{message:err.toString()}))
log.warn(log._("nodes.credentials.encryptednotfound"))
credentialCache = credentials;
} else {
// credentialSecret is set to False
log.warn(log._("nodes.credentials.unencrypted",{message:err.toString()}))
log.warn(log._("nodes.credentials.unencrypted"))
credentialCache = credentials;
}
}