forked from MapComplete/MapComplete
Android: reload page if it doesn't load
This commit is contained in:
parent
bed514d68b
commit
dfa21c8b2a
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue