diff --git a/src/router.ts b/src/router.ts index 90c8f97..713312f 100644 --- a/src/router.ts +++ b/src/router.ts @@ -70,7 +70,6 @@ const router = createRouter({ setTimeout(() => { router.beforeEach(async (to, from) => { // make sure the user is authenticated - console.log(from, ' --> ', to) if (!isLoggedin() && to.name !== "Login Page" && from.name === "Home") { return { name: "Login Page" }; } else if (!isLoggedin() && to.name === "Home" && from.name !== "Login Page") {