Skip to content
Snippets Groups Projects
Commit 91362d8f authored by Benedikt Heinrichs's avatar Benedikt Heinrichs Committed by Sirieam Marie Hunke
Browse files

Fix: Admin Showing

parent b6b02c7f
No related branches found
No related tags found
2 merge requests!170Release: Sprint/2023 01 :robot:,!161Fix: Admin Showing
......@@ -9,10 +9,7 @@ export const AdminRoutes: RouteConfig[] = [
{
path: "/admin",
component: AdminModule,
// only authenticated users can access admin
meta: {
requiresAdmin: true,
requiresAuth: true,
i18n: AdminI18nMessages,
},
children: [
......@@ -20,8 +17,12 @@ export const AdminRoutes: RouteConfig[] = [
path: "/",
name: "admin",
component: Admin,
// only authenticated users can access admin
meta: {
breadCrumb: "admin",
// TODO: Implement Admin Check
requiresAdmin: true,
requiresAuth: true,
},
},
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment