From 3fd14223efe584893d6f7f35b6a9a67cb656adc6 Mon Sep 17 00:00:00 2001 From: Olivier Verhaegen <56387556+OlivierVerhaegen@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:25:06 +0200 Subject: [PATCH] Bugfix: use of credentials in STOMP server (username property typo) (#1007) * Bugfix: use of credentials in stomp server (username property typo) --- io/stomp/18-stomp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/stomp/18-stomp.js b/io/stomp/18-stomp.js index 8ff77156..8819f857 100644 --- a/io/stomp/18-stomp.js +++ b/io/stomp/18-stomp.js @@ -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")) {