WIP
This commit is contained in:
		@@ -537,6 +537,10 @@ $(function() {
 | 
				
			|||||||
            if (message.authresult !== undefined) {
 | 
					            if (message.authresult !== undefined) {
 | 
				
			||||||
                if (message.authresult === 'false') {
 | 
					                if (message.authresult === 'false') {
 | 
				
			||||||
                    helpers.logError('Failed to auth with the socket.', helpers.LOG_TYPE.FORCE);
 | 
					                    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 {
 | 
					                } else {
 | 
				
			||||||
                    // This is to stop a reconnect loading the main page.
 | 
					                    // This is to stop a reconnect loading the main page.
 | 
				
			||||||
                    if (helpers.isAuth === true) {
 | 
					                    if (helpers.isAuth === true) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user