Skip to content

Error in service module #17

@rezen

Description

@rezen

One thing I noticed is an exception is thrown from PAM when there an attempt to login with a user that does not exist. https://github.com/Rush/node-authenticate-pam/blob/master/authenticate_pam.cc#L114

Should maybe that error be returned in the callback instead? The error is triggered in the context of the authenticate call so it seems reasonable that call would return the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions