fix: clear all localstorage when logging out
This commit is contained in:
@ -287,6 +287,7 @@ export default {
|
||||
},
|
||||
logout(ctx) {
|
||||
removeToken()
|
||||
window.localStorage.clear() // Clear all settings and history we might have saved in local storage.
|
||||
ctx.dispatch('checkAuth')
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user