diff --git a/features/bootstrap/MfaContext.php b/features/bootstrap/MfaContext.php index 664b159..6ea146d 100644 --- a/features/bootstrap/MfaContext.php +++ b/features/bootstrap/MfaContext.php @@ -661,6 +661,7 @@ public function iShouldSeeAPromptForAManagerRescueCode() $pageHtml = $page->getHtml(); Assert::assertContains('Ask Your Recovery Contact for Help', $pageHtml); Assert::assertContains('Enter code', $pageHtml); + Assert::assertContains('m*****r@e******.c**', $pageHtml); } /** diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig b/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig index dfe3075..aa464f7 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-manager.twig @@ -29,7 +29,7 @@
- {{ '{mfa:manager_sent}'|trans({'{managerEmail': managerEmail}) }} + {{ '{mfa:manager_sent}'|trans({'%managerEmail%': managerEmail}) }}