Skip to content

LG-13424 Fix phone confirmation OTP length message during sign up in auth#10694

Merged
jmhooper merged 5 commits intomainfrom
jmhooper-fix-ab-test-otp-length-translation
May 23, 2024
Merged

LG-13424 Fix phone confirmation OTP length message during sign up in auth#10694
jmhooper merged 5 commits intomainfrom
jmhooper-fix-ab-test-otp-length-translation

Conversation

@jmhooper
Copy link
Contributor

In #10480 we added an A/B test that made voice OTPs 10-digits for IdV phone confirmation for some percentage of users. This was to test whether a 10-digit numeric code sees more success than a 6-digit alphanumeric code.

This included a change to the message for the voice OTP since the message includes the length, e.g. "Your 10-digit Login.gov one time code is 1234567890". The translation for the 10-digit code was erroneously applied to 6-digit codes when auth users chose voice calls to confirm phones during sign up. This commit fixes that issue.

In #10480 we added an A/B test that made voice OTPs 10-digits for IdV users for some percentage of users. This was to test whether a 10-digit numeric code sees more success than a 6-digit alphanumeric code.

This included a change to the message for the voice OTP since the message includes the length, e.g. "Your 10-digit Login.gov one time code is 1234567890". The translation for the 10-digit code was erroneously applied to 6-digit codes when auth users chose voice calls to confirm phones during sign up. This commit fixes that issue.

[skip changelog]
@jmhooper jmhooper requested review from matthinz and n1zyy May 23, 2024 19:14
@jmhooper jmhooper changed the title Fix phone confirmation OTP length message during sign up in auth LG-13424 Fix phone confirmation OTP length message during sign up in auth May 23, 2024
@jmhooper jmhooper merged commit 49cef14 into main May 23, 2024
@jmhooper jmhooper deleted the jmhooper-fix-ab-test-otp-length-translation branch May 23, 2024 19:42
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