diff --git a/src/store/modules/auth.js b/src/store/modules/auth.js index d6f8a440..b431d53e 100644 --- a/src/store/modules/auth.js +++ b/src/store/modules/auth.js @@ -185,6 +185,7 @@ export default { .catch(e => { // eslint-disable-next-line console.log('Error renewing token: ', e) + ctx.dispatch('logout') }) }, logout(ctx) {