feat: add authentication system (login, users, auth middleware)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- server/auth.js: JWT middleware and auth routes - src/stores/auth.js + useAuthFetch.js: client-side auth state - src/views/LoginView.vue + UsersView.vue: login and user management UI - router, sidebar, App.vue: guard routes behind auth - COOLIFY.md: add real deployment IDs
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
Activity,
|
||||
GraduationCap,
|
||||
History,
|
||||
UserCog,
|
||||
} from "lucide-vue-next";
|
||||
|
||||
const route = useRoute();
|
||||
@@ -41,6 +42,12 @@ const navItems = [
|
||||
icon: History,
|
||||
label: "Historique Global",
|
||||
},
|
||||
{
|
||||
to: "/users",
|
||||
name: "users",
|
||||
icon: UserCog,
|
||||
label: "Utilisateurs",
|
||||
},
|
||||
];
|
||||
|
||||
const isActive = (name) => route.name === name;
|
||||
|
||||
Reference in New Issue
Block a user