diff --git a/lib/index.js b/lib/index.js index b02ea5a..ed7dc1f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -22,7 +22,7 @@ function authorize(options) { secret: null, store: null, success: function(data, accept){accept(null, true)}, - fail: function(data, message, critical, accept){accept(null, !critical)} + fail: function(data, message, critical, accept){accept(null, false)} }; var auth = xtend({}, defaults, options );