Skip to content

Fix TOTP verification page visit logging#6522

Merged
aduth merged 1 commit intomainfrom
aduth-totp-logging-fix
Jun 24, 2022
Merged

Fix TOTP verification page visit logging#6522
aduth merged 1 commit intomainfrom
aduth-totp-logging-fix

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jun 24, 2022

Context: #6368 (comment)

Why:

  • For consistency with other MFA verification screens
  • So that the analytics method is used
  • To prevent an error when visiting the page in local development, since the previous method call was missing the required context argument

Previously, the early return based on a feature flag used for local development meant that the event was not being logged in most cases. And when it was being logged, the missing argument raised an exception.

**Why**:

- For consistency with other MFA verification screens
- So that the analytics method is used
- To prevent an error when visiting the page in local development, since the previous method call was missing the required `context` argument

changelog: Internal, Analytics, Fix logging for TOTP page visit
@aduth aduth changed the title Fix TOTP page visit logging Fix TOTP verification page visit logging Jun 24, 2022
@aduth aduth merged commit 795545b into main Jun 24, 2022
@aduth aduth deleted the aduth-totp-logging-fix branch June 24, 2022 19:59
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