diff --git a/front/MyINPulse-front/src/components/LoginComponent.vue b/front/MyINPulse-front/src/components/LoginComponent.vue
index 48d74bf..df9df8a 100644
--- a/front/MyINPulse-front/src/components/LoginComponent.vue
+++ b/front/MyINPulse-front/src/components/LoginComponent.vue
@@ -25,11 +25,11 @@ onMounted(() => {
router.push("/admin");
return;
}
- /*
+
if (roles.includes("MyINPulse-entrepreneur")) {
router.push("/canvas");
return;
- }*/
+ }
checkPending(
(response) => {
@@ -43,7 +43,7 @@ onMounted(() => {
}
},
(error) => {
- if (error.response?.status === 404) {
+ if (error.response?.status === 403) {
router.push("/finalize");
} else {
console.error(
diff --git a/front/MyINPulse-front/src/components/canvas/CanvasItem.vue b/front/MyINPulse-front/src/components/canvas/CanvasItem.vue
index 8caa3ce..b41b6dd 100755
--- a/front/MyINPulse-front/src/components/canvas/CanvasItem.vue
+++ b/front/MyINPulse-front/src/components/canvas/CanvasItem.vue
@@ -110,7 +110,7 @@ const props = defineProps<{
isAdmin: boolean;
}>();
-const IS_MOCK_MODE = false;
+const IS_MOCK_MODE = true;
const IS_ADMIN = props.isAdmin;
const expanded = ref(false);
diff --git a/front/MyINPulse-front/src/views/FinalizeAccount.vue b/front/MyINPulse-front/src/views/FinalizeAccount.vue
index 421e850..996ae10 100644
--- a/front/MyINPulse-front/src/views/FinalizeAccount.vue
+++ b/front/MyINPulse-front/src/views/FinalizeAccount.vue
@@ -2,8 +2,13 @@
Finalisation du compte en cours...
+ +