require auth for users list page because itll be easier to test with
Some checks failed
Build and Deploy Frontend / build-and-deploy (push) Failing after 4s

This commit is contained in:
2026-03-21 15:41:54 -05:00
parent 3dd0460209
commit 9645695535

View File

@@ -13,7 +13,7 @@ const routes = [
{ path: "/", component: index }, { path: "/", component: index },
{ path: "/login", component: LoginForm }, { path: "/login", component: LoginForm },
{ path: "/register", component: RegisterForm }, { path: "/register", component: RegisterForm },
{ path: "/users", component: UsersList }, { path: "/users", component: UsersList, { requiresAuth: true } },
{ path: "/user/new", component: UserForm, meta: { requiresAuth: true } }, { path: "/user/new", component: UserForm, meta: { requiresAuth: true } },
{ path: "/user/:id", component: UserForm, meta: { requiresAuth: true } } { path: "/user/:id", component: UserForm, meta: { requiresAuth: true } }
]; // I really like this ]; // I really like this