Skip to content

fix(mfa): fix can't dismiss mfa guard for ARK delete#19519

Merged
MagentaManifold merged 1 commit intomainfrom
FXA-12470
Sep 30, 2025
Merged

fix(mfa): fix can't dismiss mfa guard for ARK delete#19519
MagentaManifold merged 1 commit intomainfrom
FXA-12470

Conversation

@MagentaManifold
Copy link
Contributor

Because

  • can't dismiss mfa guard for ARK delete

This pull request

  • makes mfa guard for ARK delete dismissible

Issue that this pull request solves

Closes: FXA-12470

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Because:

* can't dismiss mfa guard for ARK delete

This commit:

* makes mfa guard for ARK delete dismissable.

Closes #FXA-12470
<MfaGuard requiredScope="recovery_key">
<MfaGuard
requiredScope="recovery_key"
onDismissCallback={async () => hideModal()}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to wrap it because the return type must be Promise<void>

@MagentaManifold MagentaManifold marked this pull request as ready for review September 29, 2025 18:58
@MagentaManifold MagentaManifold requested a review from a team as a code owner September 29, 2025 18:58
Copy link
Contributor

@LZoog LZoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works locally, thanks!

@MagentaManifold MagentaManifold merged commit 6ebe636 into main Sep 30, 2025
19 checks passed
@MagentaManifold MagentaManifold deleted the FXA-12470 branch September 30, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants