diff --git a/lib/application.js b/lib/application.js index 028fb53a..7089d909 100644 --- a/lib/application.js +++ b/lib/application.js @@ -188,6 +188,7 @@ app.enableAuth = function() { ); } else if( Model.requireToken === false || + Model.settings.requireToken === false || method.fn && method.fn.requireToken === false ) { next();