From b132670152d6751192ae873b135177e0b7ee4ff3 Mon Sep 17 00:00:00 2001 From: Chief Bube Date: Fri, 20 Oct 2023 06:51:21 -0700 Subject: [PATCH] Changed admin --- middlewares/AuthRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middlewares/AuthRoute.js b/middlewares/AuthRoute.js index 467cd16..b1553a4 100644 --- a/middlewares/AuthRoute.js +++ b/middlewares/AuthRoute.js @@ -11,7 +11,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("/auth/sign-in"); -- 2.34.1