Skip to content

Commit

Permalink
updated quicktest to test sid
Browse files Browse the repository at this point in the history
  • Loading branch information
abbr committed Aug 26, 2017
1 parent 0572a7a commit d65d386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quick-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var nodeSSPIObj = new nodeSSPI({
'retrieveGroups': true
});
nodeSSPIObj.authenticate(req, res, function(err) {
if (req.connection.userGroups && req.connection.userGroups.length > 0) {
if (req.connection.userGroups && req.connection.userGroups.length > 0 && req.connection.userSid) {
process.stdout.write('pass');
}
});

0 comments on commit d65d386

Please sign in to comment.