Android: reload page if it doesn't load

This commit is contained in:
Pieter Vander Vennet 2025-02-05 18:21:50 +01:00
parent bed514d68b
commit dfa21c8b2a

View file

@ -33,6 +33,9 @@ connection.finishLogin(async () => {
}) })
debug.set(dbg) debug.set(dbg)
if(attempt > 10){
window.location.reload()
}
} while (!token) } while (!token)
console.log("Login finished, redirecting to passthrough; token is " + token) console.log("Login finished, redirecting to passthrough; token is " + token)
tokenSrc.set(token) tokenSrc.set(token)