summaryrefslogtreecommitdiff
path: root/src/client/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/store.ts')
-rw-r--r--src/client/store.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/store.ts b/src/client/store.ts
index 3064cfdec7..8ded1ba00d 100644
--- a/src/client/store.ts
+++ b/src/client/store.ts
@@ -101,6 +101,7 @@ export default (os: MiOS) => new Vuex.Store({
ctx.commit('settings/init', {});
ctx.commit('deviceUser/init', {});
localStorage.removeItem('i');
+ document.cookie = `igi=; path=/`;
},
async switchAccount(ctx, i) {