return to former glory

Bu işleme şunda yer alıyor:
AJ ONeal 2018-06-29 12:05:29 +00:00
ebeveyn 40d54bcdad
işleme 8aecbb1f56

Dosyayı Görüntüle

@ -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