Merge pull request #10884 from appwrite/fix-totp

Fix wrong path
This commit is contained in:
Eldad A. Fux 2025-11-29 13:47:21 +01:00 committed by GitHub
commit adc0d3dbd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: