1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}