You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I was scratching my head over this again today.... and it turns out, giving invalid login (username) throws this error as well in some cases! I remember getting a different error message in the past, so not quite sure what's going on. (maybe something triggered by my local PAM configuration)
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.
The text was updated successfully, but these errors were encountered: