diff --git a/web/js/socketWrapper.js b/web/js/socketWrapper.js index 3552185..d6df7d1 100644 --- a/web/js/socketWrapper.js +++ b/web/js/socketWrapper.js @@ -537,6 +537,10 @@ $(function() { if (message.authresult !== undefined) { if (message.authresult === 'false') { helpers.logError('Failed to auth with the socket.', helpers.LOG_TYPE.FORCE); + if(localStorage.getItem('lauth')!=null && localStorage.getItem('lauth')!=""){ + localStorage.setItem('lauth','') + window.location.reload(); + } } else { // This is to stop a reconnect loading the main page. if (helpers.isAuth === true) {