diff --git a/ts/router.ts b/ts/router.ts index 191d42a7..c83b9440 100644 --- a/ts/router.ts +++ b/ts/router.ts @@ -203,7 +203,7 @@ export const router = createRouter({ // Global navigation guard router.beforeEach(async (to, from) => { - if (to.fullPath == "/signin" || to.fullPath == "/signup") { + if (to.fullPath.startsWith("/signin") || to.fullPath == "/signup") { return; } const storeSession = useSessionStore();