From 27b8b23c07543185587192535a911dd292721090 Mon Sep 17 00:00:00 2001 From: Darshan Date: Sat, 29 Nov 2025 17:49:52 +0530 Subject: [PATCH] fix: wrong path. --- .../Modules/Account/Http/Account/MFA/Challenges/Create.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php index 08d5e05454..10230df7af 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Account/MFA/Challenges/Create.php @@ -144,7 +144,8 @@ class Create extends Action $challenge = $dbForProject->createDocument('challenges', $challenge); - $templatesPath = \dirname(__DIR__, 7) . '/app/config/locale/templates'; + // 9 levels up to project root + $templatesPath = \dirname(__DIR__, 9) . '/app/config/locale/templates'; switch ($factor) { case Type::PHONE: