diff --git a/README.md b/README.md index f05ea93..3a352f2 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ app.configure(function () { retrieveGroups: true }); nodeSSPIObj.authenticate(req, res); - next(); + res.finished || next(); }); app.use(function (req, res, next) { var out = 'Hello ' + req.connection.user + '! You belong to following groups: