-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUT-3921: Change content for mfa reset with IPV #2444
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,11 +51,21 @@ | |
{{ 'pages.enterMfa.details.text 2' | translate }} | ||
</p> | ||
{% if supportAccountRecovery === true or supportAccountRecovery === "true" %} | ||
<p class="govuk-body"> | ||
{{ 'pages.enterMfa.details.changeGetSecurityCodesText' | translate }} | ||
<a href={{ mfaResetPath }} class="govuk-link" | ||
rel="noreferrer noopener">{{ 'pages.enterMfa.details.changeGetSecurityCodesLinkText'| translate }}</a>. | ||
</p> | ||
{% if supportAccountRecovery === true or supportAccountRecovery === "true" %} | ||
{% if supportMfaResetWithIpv === true or supportMfaResetWithIpv === "true" %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume you need to add this as a hidden input also - does the wrong thing appear if you refresh the page? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just did a quick test and doesn't seem to make a difference, which makes me wonder if we're doing an amount of this cacheing unnecessarily. Worth verifying on your side |
||
<p class="govuk-body"> | ||
{{ 'pages.enterMfa.details.changeGetSecurityCodesTextWithIpv' | translate }} | ||
<a href={{ mfaResetPath }} class="govuk-link" | ||
rel="noreferrer noopener">{{ 'pages.enterMfa.details.changeGetSecurityCodesWithIpvLinkText'| translate }}</a>. | ||
</p> | ||
{% else %} | ||
<p class="govuk-body"> | ||
{{ 'pages.enterMfa.details.changeGetSecurityCodesText' | translate }} | ||
<a href={{ mfaResetPath }} class="govuk-link" | ||
rel="noreferrer noopener">{{ 'pages.enterMfa.details.changeGetSecurityCodesLinkText'| translate }}</a>. | ||
</p> | ||
{% endif %} | ||
{% endif %} | ||
{% endif %} | ||
{% endset %} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a repeated line