mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
More Client Fixes (#9002)
* logout should entirely clear localstorage * fix logout, fix social login, remove duplicate home page
This commit is contained in:
@@ -267,8 +267,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
logout () {
|
||||
localStorage.removeItem('habit-mobile-settings');
|
||||
window.location.href = '/logout';
|
||||
this.$store.dispatch('auth:logout');
|
||||
},
|
||||
showInbox () {
|
||||
this.$root.$emit('show::modal', 'inbox-modal');
|
||||
|
||||
Reference in New Issue
Block a user