From 122e2c59b881b690e54777225b22cf7ee9fcaab1 Mon Sep 17 00:00:00 2001 From: Ebube Date: Tue, 17 Oct 2023 00:33:47 +0100 Subject: [PATCH] . --- middlewares/AuthRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middlewares/AuthRoute.js b/middlewares/AuthRoute.js index 5504723..c8e0748 100644 --- a/middlewares/AuthRoute.js +++ b/middlewares/AuthRoute.js @@ -10,7 +10,7 @@ const AuthRoute = ({ children }) => { const router = useRouter(); useEffect(() => { - const isAuthenticated = true; // In a real application, this would be determined based on the user's authentication status. + const isAuthenticated = false; // In a real application, this would be determined based on the user's authentication status. if (!isAuthenticated) { router.push("/authentication/sign-in/");