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

Prepopulate node credentials if present

This commit is contained in:
Nick O'Leary 2014-07-18 14:23:32 +01:00
parent a6a0352b70
commit aa35484a30

View File

@ -33,6 +33,10 @@ function registerType(type,constructor,opts) {
function createNode(node,def) {
Node.call(node,def);
var creds = credentials.get(node.id);
if (creds) {
node.credentials = creds;
}
}
function init(_settings,storage) {