Updated login page, added ProtectedRoute object for wrapping in layouts, added ProtectedRoute authorization verification to Admin route root
This commit is contained in:
parent
f055e77eea
commit
efa42a53b2
5 changed files with 65 additions and 17 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { redirect } from "next/navigation";
|
||||
import UnderConstruction from "@/components/static_pages/UnderConstruction";
|
||||
|
||||
export default function Admin() {
|
||||
// TODO: Replace with Layout State Manager
|
||||
redirect("/Admin/Login");
|
||||
return <UnderConstruction />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue