1
0

fix: clear all localstorage when logging out

This commit is contained in:
kolaente
2022-08-09 11:55:19 +02:00
parent 3440d71e74
commit 51ffe93048
3 changed files with 45 additions and 11 deletions

View File

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