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:
parent
2a3cfdb8ff
commit
fd4214eac9
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user