forked from FoundKeyGang/FoundKey
fix(client): logout functionality
This commit is contained in:
parent
912c19222e
commit
57f9f787d1
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ export async function signout() {
|
||||||
|
|
||||||
await removeAccount($i.id);
|
await removeAccount($i.id);
|
||||||
|
|
||||||
|
const accounts = await getAccounts();
|
||||||
|
|
||||||
//#region Remove service worker registration
|
//#region Remove service worker registration
|
||||||
try {
|
try {
|
||||||
if (navigator.serviceWorker.controller) {
|
if (navigator.serviceWorker.controller) {
|
||||||
|
|
Loading…
Reference in a new issue