Skip to content

Commit

Permalink
Fix changeAuthenticatorAppRouter
Browse files Browse the repository at this point in the history
The /change-authenticator-app is currently accessible in production
which should not be happening seeing as MFA method management is
not live yet.
This ensures this route is behind the supportChangeMfa flag, so that the
page is only accessible once the MFA MM feature is live.
  • Loading branch information
danacotoran committed Jul 19, 2024
1 parent 8d82d29 commit c088445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ async function createApp(): Promise<express.Application> {
app.use(addMfaMethodRouter);
app.use(addMfaMethodAppRouter);
app.use(addMfaMethodSmsRouter);
app.use(changeAuthenticatorAppRouter);
}
app.use(changeAuthenticatorAppRouter);
app.use(trackAndRedirectRouter);

// Router for all previously used URLs, that we want to redirect on
Expand Down

0 comments on commit c088445

Please sign in to comment.