Bugfix: use of credentials in stomp server (username property typo)

This commit is contained in:
Olivier Verhaegen 2023-06-05 17:10:07 +02:00 committed by GitHub
parent 2f73c59d7c
commit 1a86f7ba27
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);
if (node.credentials) {
node.username = node.credentials.username;
node.username = node.credentials.user;
node.password = node.credentials.password;
}
if (!init && hasProperty(options, "username")) {