Skip to content

Commit

Permalink
Merge pull request #1431 from govuk-one-login/AUT-2440/fix-journey-ty…
Browse files Browse the repository at this point in the history
…pe-check-in-verify-code-controller

AUT-2440: Fixed check against journey type in verify code controller
  • Loading branch information
alhcomer authored Mar 5, 2024
2 parents 5686e8f + 8826487 commit bfc8333
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function verifyCodePost(
if (
nextEvent === USER_JOURNEY_EVENTS.EMAIL_SECURITY_CODES_CODE_VERIFIED ||
(nextEvent === USER_JOURNEY_EVENTS.MFA_CODE_VERIFIED &&
JOURNEY_TYPE.PASSWORD_RESET_MFA)
options.journeyType === JOURNEY_TYPE.PASSWORD_RESET_MFA)
) {
accountInterventionsResponse =
await accountInterventionsService.accountInterventionStatus(
Expand Down

0 comments on commit bfc8333

Please sign in to comment.