Comparing version 0.2.0-11 to 0.2.0-12
{ | ||
"name": "autohost", | ||
"version": "0.2.0-11", | ||
"version": "0.2.0-12", | ||
"description": "Resource driven transport agnostic host", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -49,5 +49,7 @@ var path = require( 'path' ), | ||
} ); | ||
_.each( wrapper.passport.getMiddleware( '/' ), function( m ) { | ||
router.use( m.path, m.fn ); | ||
} ); | ||
if( wrapper.passport ) { | ||
_.each( wrapper.passport.getMiddleware( '/' ), function( m ) { | ||
router.use( m.path, m.fn ); | ||
} ); | ||
} | ||
return router; | ||
@@ -54,0 +56,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2436196
42947