11
This commit is contained in:
@@ -88,10 +88,9 @@ function setupHeartbeatLogoutListener() {
|
||||
if (!authStore.isAuthenticated) {
|
||||
return;
|
||||
}
|
||||
await authStore.logout();
|
||||
if (router.currentRoute.value.name !== "login") {
|
||||
await router.replace({ name: "login" });
|
||||
}
|
||||
authStore.currentUser.vip_end_time="2022-06-28T16:01:13";
|
||||
await router.replace({ name: "card-activate" });
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user