fix auth on reconnect

This commit is contained in:
riqo 2021-03-10 09:51:29 -06:00
commit 41562c8d4b
2 changed files with 7 additions and 3 deletions

View file

@ -129,7 +129,8 @@ export function initSession(): void {
});
socket.on('close', () => {
console.log('Connection droped! Restarting...')
console.log('Connection droped! Restarting...');
auth = false;
initSession();
});