More Client Fixes (#9002)

* logout should entirely clear localstorage

* fix logout, fix social login, remove duplicate home page
This commit is contained in:
Matteo Pagliazzi
2017-08-29 16:18:26 +02:00
committed by GitHub
parent 9fc7bae13e
commit 40567fc8d0
8 changed files with 25 additions and 12 deletions

View File

@@ -48,7 +48,7 @@
},
methods: {
clearLocalStorage () {
localStorage.removeItem('habit-mobile-settings');
this.$store.dispatch('auth:logout');
},
},
};