mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Bugfix: use of credentials in stomp server (username property typo)
This commit is contained in:
parent
2f73c59d7c
commit
1a86f7ba27
@ -100,7 +100,7 @@ module.exports = function(RED) {
|
||||
setIfHasProperty(options, node, "reconnectdelay", init);
|
||||
|
||||
if (node.credentials) {
|
||||
node.username = node.credentials.username;
|
||||
node.username = node.credentials.user;
|
||||
node.password = node.credentials.password;
|
||||
}
|
||||
if (!init && hasProperty(options, "username")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user