diff --git a/package.json b/package.json
index 97c4199..6b36d99 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "harmony-back",
- "version": "0.12.10",
+ "version": "0.12.11",
"private": true,
"description": "A Strapi application",
"scripts": {
diff --git a/public/confirmation.html b/public/confirmation.html
new file mode 100644
index 0000000..aad9309
--- /dev/null
+++ b/public/confirmation.html
@@ -0,0 +1,166 @@
+
+Confirme ton adresse e-mail en un clic pour activer ton compte.
+
+
+
+
+
+
+
+
+
+ 
+
+
+ ChoralSync
+
+
+ Bienvenue — plus qu’une étape
+
+
+
+ |
+
+
+
+
+
+
+ Bonjour {{USER_NAME}},
+
+
+ Merci de t’être inscrit. Clique sur le bouton ci-dessous pour
+ confirmer ton adresse e-mail et activer ton compte.
+
+
+
+
+
+
+
+ Si le bouton ne fonctionne pas, copie-colle ce lien dans ton
+ navigateur :
+
+
+ {{CONFIRM_URL}}
+
+ |
+
+
+
+
+ |
+
+ Si tu n’es pas à l’origine de cette inscription, ignore cet
+ e-mail.
+
+
+ © ChoralSync {{YEAR}} •
+ www.choralsync.com
+
+ |
+
+
+
+
+
+ Besoin d’aide ? Réponds directement à cet e-mail ou consulte notre
+ centre d’aide.
+
+ |
+
+
diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json
index 881800d..62a3535 100644
--- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json
+++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json
@@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
- "x-generation-date": "2025-11-30T20:21:42.995Z"
+ "x-generation-date": "2025-11-30T20:43:11.125Z"
},
"x-strapi-config": {
"plugins": [
diff --git a/src/extensions/users-permissions/strapi-server.ts b/src/extensions/users-permissions/strapi-server.ts
index 66c4295..8de7c59 100644
--- a/src/extensions/users-permissions/strapi-server.ts
+++ b/src/extensions/users-permissions/strapi-server.ts
@@ -52,7 +52,8 @@ module.exports = (plugin) => {
const confirmUrl = `${process.env.NEXTJS_URL}/confirmation/submit?confirmation=${confirmationToken}`;
// Lecture du template HTML depuis le fichier
- const htmlPath = path.join(__dirname, "confirmation.html");
+
+ const htmlPath = path.join(process.cwd(), "public", "confirmation.html");
let html = await fs.readFile(htmlPath, "utf-8");
// Remplacement des variables