From b3086289ac0f4c6bc74b43088541d377675faca4 Mon Sep 17 00:00:00 2001 From: Matheus Cristian Date: Thu, 6 Jun 2024 17:57:27 -0300 Subject: [PATCH] feat(bug-loginexternal-page): replaces login external page --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 2b2810b93..7bcf64896 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -93,9 +93,9 @@ const router = new Router({ ); if (to.query.next) { - next(to.query.next); + next({ path: to.query.next, replace: true }); } else { - next('/home'); + next({ path: '/home', replace: true }); } }, },