You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$1000] Web - Inconsistency in the email's content when verifying the new contact method. #25838
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringHelp WantedApply this label when an issue is open to proposals by contributorsInternalRequires API changes or must be handled by Expensify staff
Go to Settings >> Profile >> Contact method >> choose New contact method.
Provide the new Contact method and click Add >> check the email's content.
Click on the "Didn't receive a magic code?" option to get a new verification code >> check the email's content.
Observation: The email content in step 3 and step 4 is not consistent.
Expected Result:
The email content sent in step #4 should be similar to the email sent in step #3, in order to avoid confusion with the magic code used for login.
Actual Result:
There is inconsistency in the email content between step #3 and step #4. The email’s content at step #4 is confusing because it appears the same as the email used for login.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: v1.3.57-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Okay, so when i add a Secondary Login, I receive an email titled Verify secondary email for Expensify:
And, if i click Didn't receive magic code?, I receive a new email titled Your magic sign-in link for Expensify:
The link in the Didn't receive magic code? email doesn't work for validating a Secondary Login so it sends the customer in a loop and they might end up needing to delete / re-add their secondary login to resolve this.
Please note about the attached link too.
The link in the 2nd email can not be used for secondary email validation either (as It is a link for login).
So the text + the email's structure is confusing and doesn't make sense in the context
changed the title [-]Web - Inconsistency in the email's content when verifying the new contact method.[/-][+][$1000] Web - Inconsistency in the email's content when verifying the new contact method.[/+]on Aug 30, 2023
@mountiny - my friend, Vit! i think i am meant to add the Engineering label to internal issues. But, lmk if I'm mistaken and i will go about triaging this differently!
@NikkiWines Do you know if this is a regression or maybe this loophole was missed? Would you be interested in taking this one over as you go experience with these? No problem if not 😄
@NikkiWines Do you know if this is a regression or maybe this loophole was missed? Would you be interested in taking this one over as you go experience with these? No problem if not 😄
I wasn't involved in this flow, but I'd guess that it was either overlooked or just not considered important when we added the Didn't receive a magic code link to the Add Contact Methods page. The code that the user receives still works, but I agree the copy is a little weird given the flow they're in.
This occurs because we call two different commands (AddNewContactMethod and RequestContactMethodValidateCode) which use two distinct templates (SecondaryLoginAdd vs. SendValidateCode) to send the code in the backend.
The latter command ultimately calls this function which does support using different templates depending on a number of factors. We could adjust it to use the SecondaryLoginAdd template (or a new template like SendValidateCode but specific to secondary logins).
Ultimately though I think it's fine to leave as is. Kind of a "nice to have" fix. FWIW, expensify.com has the same behavior
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringHelp WantedApply this label when an issue is open to proposals by contributorsInternalRequires API changes or must be handled by Expensify staff
Activity
melvin-bot commentedon Aug 24, 2023
Triggered auto assignment to @maddylewis (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 24, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Aug 28, 2023
@maddylewis Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Aug 30, 2023
@maddylewis Huh... This is 4 days overdue. Who can take care of this?
maddylewis commentedon Aug 30, 2023
sorry for the delay on this one. there were some other things that i needed to prioritize over this, but let me try to repro now!
maddylewis commentedon Aug 30, 2023
Okay, so when i add a Secondary Login, I receive an email titled
Verify secondary email for Expensify:And, if i click
Didn't receive magic code?, I receive a new email titledYour magic sign-in link for Expensify:The link in the
Didn't receive magic code?email doesn't work for validating a Secondary Login so it sends the customer in a loop and they might end up needing to delete / re-add their secondary login to resolve this.maddylewis commentedon Aug 30, 2023
tranvantoan-qn commentedon Aug 30, 2023
Please note about the attached link too.
The link in the 2nd email can not be used for secondary email validation either (as It is a link for login).
So the text + the email's structure is confusing and doesn't make sense in the context
[-]Web - Inconsistency in the email's content when verifying the new contact method.[/-][+][$1000] Web - Inconsistency in the email's content when verifying the new contact method.[/+]12 remaining items
melvin-bot commentedon Sep 4, 2023
@mananjadhav, @maddylewis Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Sep 6, 2023
Triggered auto assignment to @mountiny (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.maddylewis commentedon Sep 6, 2023
@mountiny - my friend, Vit! i think i am meant to add the
Engineeringlabel to internal issues. But, lmk if I'm mistaken and i will go about triaging this differently!mountiny commentedon Sep 7, 2023
All good
@NikkiWines Do you know if this is a regression or maybe this loophole was missed? Would you be interested in taking this one over as you go experience with these? No problem if not 😄
melvin-bot commentedon Sep 11, 2023
@mananjadhav, @mountiny, @maddylewis Whoops! This issue is 2 days overdue. Let's get this updated quick!
mountiny commentedon Sep 11, 2023
asked in DM
NikkiWines commentedon Sep 12, 2023
👋 sorry for the delay
I wasn't involved in this flow, but I'd guess that it was either overlooked or just not considered important when we added the
Didn't receive a magic codelink to the Add Contact Methods page. The code that the user receives still works, but I agree the copy is a little weird given the flow they're in.This occurs because we call two different commands (
AddNewContactMethodandRequestContactMethodValidateCode) which use two distinct templates (SecondaryLoginAddvs.SendValidateCode) to send the code in the backend.The latter command ultimately calls this function which does support using different templates depending on a number of factors. We could adjust it to use the
SecondaryLoginAddtemplate (or a new template likeSendValidateCodebut specific to secondary logins).Ultimately though I think it's fine to leave as is. Kind of a "nice to have" fix. FWIW, expensify.com has the same behavior
mountiny commentedon Sep 12, 2023
Ok, really appreciate this, I think I agree that this is super low priority and we can focus on this kind of polish after reunification