This commit is contained in:
choelzl 2022-02-09 13:09:53 +01:00
parent bc15dc49d6
commit ebd4777e98
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -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) {