Skip to content
This repository was archived by the owner on Feb 11, 2020. It is now read-only.
This repository was archived by the owner on Feb 11, 2020. It is now read-only.

password in authenticate function is a buffer #805

@simonnilsson

Description

@simonnilsson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions