From d65d386975c5bedce89ca4eaa9cc10e02f7f50b9 Mon Sep 17 00:00:00 2001 From: abbr Date: Fri, 25 Aug 2017 20:49:03 -0700 Subject: [PATCH] updated quicktest to test sid --- quick-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quick-test.js b/quick-test.js index 14c2d48..7e2119f 100644 --- a/quick-test.js +++ b/quick-test.js @@ -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'); } }); \ No newline at end of file