From 6a97f0b7f60ce5de2d4c76eea036c54986491503 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 11 Dec 2018 20:59:25 +0900 Subject: [PATCH] [Client] Fix bug --- src/client/app/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/store.ts b/src/client/app/store.ts index f2c301bcb..1cd4f21e3 100644 --- a/src/client/app/store.ts +++ b/src/client/app/store.ts @@ -131,7 +131,7 @@ export default (os: MiOS) => new Vuex.Store({ logout(ctx) { ctx.commit('updateI', null); - document.cookie = `i=; domain=${hostname}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`; + document.cookie = 'i=;'; localStorage.removeItem('i'); },