fix(express) if !config condition

This commit is contained in:
coderaiser 2014-09-19 05:32:37 -04:00
parent a59946d770
commit bb14333ab7

View file

@ -22,7 +22,9 @@
var isArray = Util.isArray(middleware);
if (!config)
config.auth = false;
config = {
auth: false
};
if (app) {
if (logger)