From 34875321ac1df96447b2fbe1aadf3b2088e802ea Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 28 Apr 2026 11:50:51 +0300 Subject: [PATCH] redirection page 401 pour les user non autorises --- .../src/examples/Sidenav/SidenavList.vue | 88 ++++++++++++++- thanasoft-front/src/router/index.js | 105 ++++++++++++++++++ thanasoft-front/src/services/auth.ts | 10 ++ thanasoft-front/src/services/user.ts | 1 + thanasoft-front/src/stores/auth.ts | 13 +++ thanasoft-front/src/stores/userStore.ts | 9 +- .../src/views/auth/error/Error401.vue | 78 +++++++++++++ 7 files changed, 301 insertions(+), 3 deletions(-) create mode 100644 thanasoft-front/src/views/auth/error/Error401.vue diff --git a/thanasoft-front/src/examples/Sidenav/SidenavList.vue b/thanasoft-front/src/examples/Sidenav/SidenavList.vue index 98eb922..ef5182d 100644 --- a/thanasoft-front/src/examples/Sidenav/SidenavList.vue +++ b/thanasoft-front/src/examples/Sidenav/SidenavList.vue @@ -65,6 +65,8 @@ + +