diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-11 20:59:25 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-11 20:59:25 +0900 |
| commit | 6a97f0b7f60ce5de2d4c76eea036c54986491503 (patch) | |
| tree | cacf87daa5cfcc522c919c8d286ad7fd8c363b72 /src | |
| parent | Fix bug (diff) | |
| download | sharkey-6a97f0b7f60ce5de2d4c76eea036c54986491503.tar.gz sharkey-6a97f0b7f60ce5de2d4c76eea036c54986491503.tar.bz2 sharkey-6a97f0b7f60ce5de2d4c76eea036c54986491503.zip | |
[Client] Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/store.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/store.ts b/src/client/app/store.ts index f2c301bcbc..1cd4f21e3a 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'); }, |