mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Bugfix: use of credentials in STOMP server (username property typo) (#1007)
* Bugfix: use of credentials in stomp server (username property typo)
This commit is contained in:
parent
71a39ac16b
commit
3fd14223ef
@ -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…
Reference in New Issue
Block a user