mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-04-21 19:10:37 +00:00
return to former glory
This commit is contained in:
parent
40d54bcdad
commit
8aecbb1f56
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user