diff --git a/web/js/socketWrapper.js b/web/js/socketWrapper.js index 06f97e5..3552185 100644 --- a/web/js/socketWrapper.js +++ b/web/js/socketWrapper.js @@ -508,7 +508,7 @@ $(function() { helpers.log('Connection established with the websocket.', helpers.LOG_TYPE.FORCE); // Auth with the socket. sendToSocket({ - authenticate: local_auth || getAuth() + authenticate: localStorage.getItem('lauth') || getAuth() }); };