web: fix logout
This commit is contained in:
parent
48ebf9c978
commit
ab2ced247b
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ async function press_logout() {
|
||||||
if (confirm("Are you sure you want to sign out?")) {
|
if (confirm("Are you sure you want to sign out?")) {
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
await dbclear();
|
await dbclear();
|
||||||
window.location.href = url.toString()
|
window.location.reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue