mirror of https://github.com/node-red/node-red.git
Do not create the credentials object if not exported
parent
5b096bfd5e
commit
14811b5aec
|
@ -1228,7 +1228,6 @@ RED.nodes = (function() {
|
|||
}
|
||||
}
|
||||
} else if (n.credentials) {
|
||||
node.credentials = {};
|
||||
// All other nodes have a well-defined list of possible credentials
|
||||
for (var cred in n._def.credentials) {
|
||||
if (n._def.credentials.hasOwnProperty(cred)) {
|
||||
|
|
Loading…
Reference in New Issue