Allow signin with next parameter
This commit is contained in:
parent
be9065354d
commit
a2cdbc26bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue