Make sure data is an object
This commit is contained in:
parent
e619579b1b
commit
295fe2bd09
@ -619,6 +619,10 @@ function getServerConfiguration() {
|
||||
}
|
||||
|
||||
function performAuthentication(data) {
|
||||
if (typeof data !== "object") {
|
||||
return;
|
||||
}
|
||||
|
||||
const socket = this;
|
||||
let client;
|
||||
let token = null;
|
||||
|
Loading…
Reference in New Issue
Block a user