-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
At the moment you are not taking info in basic auth callback. So extra information about authenticated client cannot be passed to req.authInfo object.
I changed code as follows.
this._verify(userid, password, function(err, user, info) {
if (err) { return self.error(err); }
if (!user) { return self.fail(self._challenge()); }
self.success(user, info);
});
I am sure others would also benefit if you change code as above.
drinchev
Metadata
Metadata
Assignees
Labels
No labels