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