From fd4214eac9d33098a97c96e289dc621ee46f6675 Mon Sep 17 00:00:00 2001 From: Screeny Date: Fri, 15 Nov 2013 10:41:53 +0100 Subject: [PATCH] close socket.io by default --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );