Allow signin with next parameter

This commit is contained in:
Eli Ribble 2026-04-17 19:44:08 +00:00
parent be9065354d
commit a2cdbc26bd
No known key found for this signature in database

View file

@ -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();