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: