1
0
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:
Olivier Verhaegen 2023-06-06 12:25:06 +02:00 committed by GitHub
parent 71a39ac16b
commit 3fd14223ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ module.exports = function(RED) {
setIfHasProperty(options, node, "reconnectdelay", init); setIfHasProperty(options, node, "reconnectdelay", init);
if (node.credentials) { if (node.credentials) {
node.username = node.credentials.username; node.username = node.credentials.user;
node.password = node.credentials.password; node.password = node.credentials.password;
} }
if (!init && hasProperty(options, "username")) { if (!init && hasProperty(options, "username")) {