Closed Teagan42 closed 20 hours ago
Hi, thank you for your interest and your PR.
I agree with you about passing undefined instead of empty strings for both username and password.
I'm not sure about passing username without password... that is really connected to a specific setup. Do you need it?
Let me just check that mosquito has no issues with that cause it is the 99% of uses.
Btw I cannot merge on the main... only on the dev. But wait that I check mqtt code and test mosquito before making a PR on the dev.
My best.
Hi sorry for the late reply. I made it differently. If you have time to test it, would be nice. I tested it with mosquitto and all is correct. The tgz is in discord. https://github.com/Luligu/matterbridge/blob/main/CHANGELOG.md#discord
Problem When authentication is disabled in EMQX, connection fails when username and password are defaulted to empty strings.
Description of Change
undefined
.