Open simonnilsson opened 4 years ago
According to the documentation the password passed to authenticate is supposed to be a string but it is actually a Buffer.
http://www.mosca.io/docs/lib/server.js.html#authenticate
I suggest either updating the documentation or casting it to a string before passing it to the authenticate function.
According to the documentation the password passed to authenticate is supposed to be a string but it is actually a Buffer.
http://www.mosca.io/docs/lib/server.js.html#authenticate
I suggest either updating the documentation or casting it to a string before passing it to the authenticate function.