Implemented admin account setup step in UI

This commit is contained in:
grimsi
2024-03-10 13:55:54 +01:00
parent 647ac97309
commit 0b696e4766
6 changed files with 240 additions and 37 deletions
+4 -6
View File
@@ -8,18 +8,16 @@ import SetupView from "Frontend/views/SetupView";
export const routes = protectRoutes([
{
element: <MainLayout/>,
handle: {title: 'Main', requiresLogin: true},
handle: {requiresLogin: true},
children: [
{path: '/', element: <TestView/>, handle: {title: 'Gameyfin', requiresLogin: true}},
{path: '/', element: <TestView/>, handle: {title: 'Gameyfin - Test'}},
],
},
{
path: '/login',
element: <LoginView/>
path: '/login', element: <LoginView/>, handle: {requiresLogin: false}
},
{
path: '/setup',
element: <SetupView/>
path: '/setup', element: <SetupView/>, handle: {requiresLogin: false}
}
]) as RouteObject[];