From f8ef3b47b8c874ce7e9711e2cfc2ff63f4bfb46e Mon Sep 17 00:00:00 2001 From: Kathryn Hansen Date: Thu, 27 Apr 2017 16:50:06 -0700 Subject: [PATCH] Sends back request with password exchange --- lib/exchange/password.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/exchange/password.js b/lib/exchange/password.js index aae08c34..c1120ab4 100644 --- a/lib/exchange/password.js +++ b/lib/exchange/password.js @@ -125,7 +125,9 @@ module.exports = function(options, issue) { try { var arity = issue.length; - if (arity == 7) { + if(arity == 8){ + issue(client, username, passwd, scope, req.body, req.authInfo, req, issued); + } else if (arity == 7) { issue(client, username, passwd, scope, req.body, req.authInfo, issued); } else if (arity == 6) { issue(client, username, passwd, scope, req.body, issued);