diff --git a/src/App.vue b/src/App.vue index 3df459b..395369b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -172,6 +172,7 @@ setInterval(async () => { if (userData.getters.get_token !== '') { const valid = await fetchUserInfo() if (!valid) { + logout() router.push({ name: 'Login' }) } }