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