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
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {