This commit is contained in:
syuilo 2018-04-29 17:55:57 +09:00
parent a8083eb52b
commit 9f22f924f1
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ export default class MiOS extends EventEmitter {
public signout() { public signout() {
localStorage.removeItem('me'); localStorage.removeItem('me');
localStorage.removeItem('settings');
document.cookie = `i=; domain=${hostname}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`; document.cookie = `i=; domain=${hostname}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
location.href = '/'; location.href = '/';
} }