From 8aecbb1f56c4da63df1e306c657f402f5df19b32 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 29 Jun 2018 12:05:29 +0000 Subject: [PATCH] return to former glory --- lib/extensions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extensions/index.js b/lib/extensions/index.js index 5ee664d..3e6cf52 100644 --- a/lib/extensions/index.js +++ b/lib/extensions/index.js @@ -299,8 +299,8 @@ module.exports.authenticate = function (opts) { if (auth && (auth.authn === opts.auth || auth.authz === opts.auth)) { if (!auth.authz) { console.log("[wss.ext.authenticate] Create authz promise and passthru"); - getPromise(auth); - return state.defaults.authenticate(opts.auth); + return getPromise(auth); + //return state.defaults.authenticate(opts.auth); } // If they used authn but now authz is available, use authz