Skip to content

Fix duplicate event logging for MFA Setup Complete event#6706

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-duplicate-mfa-complete
Aug 9, 2022
Merged

Fix duplicate event logging for MFA Setup Complete event#6706
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-duplicate-mfa-complete

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke commented Aug 8, 2022

Currently, the next_setup_path is called after any MFA setup, which includes MFA setups after account registration, and this event was only intended to be logged during registration.

To fix that, this event should only be logged if there are MFA selections (which only exist during account registration).

@mitchellhenke mitchellhenke marked this pull request as draft August 8, 2022 19:21
changelog: Bug Fixes, Logging, Fix duplicate event logging for MFA Setup Complete event
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/fix-duplicate-mfa-complete branch from 132170e to 696b8b7 Compare August 8, 2022 20:12
@mitchellhenke mitchellhenke marked this pull request as ready for review August 8, 2022 21:52
Copy link
Contributor

@jmdembe jmdembe left a comment

Choose a reason for hiding this comment

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

👍🏾

@mitchellhenke mitchellhenke merged commit 6132017 into main Aug 9, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/fix-duplicate-mfa-complete branch August 9, 2022 14:07
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