Skip to content

Commit

Permalink
Merge pull request #1488 from govuk-one-login/AUT-2600/enter-password…
Browse files Browse the repository at this point in the history
…-error-update

AUT-2600: update lockout error screen after entering correct password with too many incorrect mfa codes
  • Loading branch information
BeckaL authored Mar 27, 2024
2 parents 0c8cafe + 601cecc commit 94fe1c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/enter-password/enter-password-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ export function enterPasswordPost(

if (result.data.code === ERROR_CODES.ENTERED_INVALID_MFA_MAX_TIMES) {
return res.render(
"security-code-error/index-security-code-entered-exceeded.njk"
"security-code-error/index-security-code-entered-exceeded.njk",
{
show2HrScreen: support2hrLockout(),
}
);
}

Expand Down

0 comments on commit 94fe1c0

Please sign in to comment.