From af6091e04aafcfd5f7d74b1f2fe884c12d51a1cd Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 22 Feb 2024 14:37:01 +0100 Subject: [PATCH] fix: template name typo for mfa challenge --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index a68a882e43..3dcda9d898 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3743,7 +3743,7 @@ App::post('/v1/account/mfa/challenge') $message = Template::fromFile(__DIR__ . '/../../config/locale/templates/sms-base.tpl'); - $customTemplate = $project->getAttribute('templates', [])['sms.mfa-challenge-' . $locale->default] ?? []; + $customTemplate = $project->getAttribute('templates', [])['sms.mfaChallenge-' . $locale->default] ?? []; if (!empty($customTemplate)) { $message = $customTemplate['message'] ?? $message; }