Make sure data is an object

This commit is contained in:
Pavel Djundik 2018-08-29 13:55:30 +03:00
parent e619579b1b
commit 295fe2bd09

View File

@ -619,6 +619,10 @@ function getServerConfiguration() {
} }
function performAuthentication(data) { function performAuthentication(data) {
if (typeof data !== "object") {
return;
}
const socket = this; const socket = this;
let client; let client;
let token = null; let token = null;