diff --git a/src/components/resend-mfa-code/index.njk b/src/components/resend-mfa-code/index.njk index af60efa3e..3f7f376ab 100644 --- a/src/components/resend-mfa-code/index.njk +++ b/src/components/resend-mfa-code/index.njk @@ -6,13 +6,9 @@ {% set showBack = true %} {% set hrefBack = 'enter-code' %} -{% if isResendCodeRequest %} - {% set phoneNumberMessage %} - {{ 'pages.resendMfaCode.phoneNumber.isResendCodeRequest' | translate }} {{ phoneNumber }} - {% endset %} -{% else %} - {% set phoneNumberMessage = 'pages.resendMfaCode.phoneNumber.default' | translate | replace("[mobile]", phoneNumber) %} -{% endif %} +{% set phoneNumberMessage %} + {{ 'pages.resendMfaCode.phoneNumber.isResendCodeRequest' | translate }} {{ phoneNumber | returnLastCharacters({limit: 3}) }} +{% endset %} {% block content %}