[Client] Fix bug

This commit is contained in:
syuilo 2018-12-11 20:59:25 +09:00
parent d885b872f3
commit 6a97f0b7f6
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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');
},