mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
Merge pull request #58 from pieterjandesmedt/master
fix(lib/index.js) return auth.success
This commit is contained in:
commit
d90bd53397
@ -144,7 +144,7 @@ function authorize(options, onConnection) {
|
||||
|
||||
data.decoded_token = decoded;
|
||||
|
||||
auth.success(data, accept);
|
||||
return auth.success(data, accept);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user