Closed Bug 1642358 Opened 5 years ago Closed 4 years ago

Only record the "last user hash" for the sync merge warning after account becomes verified

Categories

(Firefox :: Sync, defect, P3)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: adavis, Assigned: bdk)

Details

Attachments

(1 file)

Steps to reproduce:

  • Create a new profile
  • Try to register with an invalid email (one that will bounce but looks legit)
  • When you see the FxA error that the email bounced, start over

Results:

  • Sync gives a merge warning though the first attempt at registation never worked

Expected result:

  • No merge warning since it's the first successful Sync authentication.

We now record that "last user hash" as soon as we are told of the login. I think doing it as we notice verification would avoid the issue as described.

Summary: Sync merge warning after a failed registration → Only record the "last user hash" for the sync merge warning after account becomes verified

The severity field is not set for this bug.
:rfkelly, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(rfkelly)

I'm making this a P3, but if we have metrics to suggest it's a regularly-occurring problem we can discuss bumping it up.

Severity: -- → S4
Flags: needinfo?(rfkelly)
Priority: -- → P3
Assignee: nobody → bdeankawamura
Status: NEW → ASSIGNED

I'm not seeing an email bounced error when running from the current code, but I do see this issue if I click the "Use a different account" link from the login page before the first account is verified.

  • Updated FxAccountsWebChannel to not save the user hash when logging in
    with an unverified email
  • Updated FxAccounts to save the user hash once the email is verified.
  • Updated tests

(In reply to Ben Dean-Kawamura from comment #4)

I'm not seeing an email bounced error when running from the current code, but I do see this issue if I click the "Use a different account" link from the login page before the first account is verified.

That would be the server - might be worth asking on #fxa about it if you can reproduce it - bounces are a bit of a problem for them and they might be interested in working out what made yours bounce.

@markh can you add the testing tag to phabricator?

Pushed by mhammond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81ca3e5099af Don't save the last user hash for unverified emails. r=markh
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: