2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

close socket.io by default

This commit is contained in:
Screeny 2013-11-15 10:41:53 +01:00
parent 2a3cfdb8ff
commit fd4214eac9

View File

@ -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 );