mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
Merge branch 'ccff33-additional-auth-var-name-fix'
This commit is contained in:
commit
ee1b0400f1
@ -58,7 +58,7 @@ function noQsMethod(options) {
|
||||
};
|
||||
|
||||
if(options.additional_auth && typeof options.additional_auth === 'function') {
|
||||
options.options.additional_auth(decoded, onSuccess, onError);
|
||||
options.additional_auth(decoded, onSuccess, onError);
|
||||
} else {
|
||||
onSuccess();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user