fix: corriger les erreurs sur la route /login
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 34s

- Échapper le @ dans les placeholders email (vue-i18n v9 interprète @ comme message linking)
- Gérer l'erreur silencieusement quand projects.json est inaccessible (user non connecté)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-04 13:48:33 +01:00
parent 2d3be6d140
commit cd1b374d10
3 changed files with 4 additions and 2 deletions

View file

@ -75,7 +75,7 @@
}, },
"forms": { "forms": {
"email": "Email", "email": "Email",
"emailPlaceholder": "email@example.com", "emailPlaceholder": "email{'@'}example.com",
"password": "Password", "password": "Password",
"passwordPlaceholder": "Minimum 8 characters", "passwordPlaceholder": "Minimum 8 characters",
"newPassword": "New password", "newPassword": "New password",

View file

@ -75,7 +75,7 @@
}, },
"forms": { "forms": {
"email": "Email", "email": "Email",
"emailPlaceholder": "mail@exemple.com", "emailPlaceholder": "mail{'@'}exemple.com",
"password": "Mot de passe", "password": "Mot de passe",
"passwordPlaceholder": "Minimum 8 caractères", "passwordPlaceholder": "Minimum 8 caractères",
"newPassword": "Nouveau mot de passe", "newPassword": "Nouveau mot de passe",

View file

@ -52,6 +52,8 @@ export const useProjectsStore = defineStore('projects', () => {
isProjectsLoading.value = false; isProjectsLoading.value = false;
projects.value = json.page.children; projects.value = json.page.children;
// }, 3000); // }, 3000);
}).catch(() => {
isProjectsLoading.value = false;
}); });
// Functions // Functions