commit 51d41304d6553c27e338e0360a555d7a29552b0a
Author: Valerie Pomerleau
Date: Wed Nov 26 15:23:06 2025 -0800
fix(settings): Prevent duplicate sync merge warnings
Because:
* Users signing in with third party auth might see 2 merge warnings
* ThirdPartyAuth flows (Google/Apple) may switch the email, making early prompts at Index unsafe and causing duplicates.
* Signin previously skipped prompting after email‑first, relying on Index.
This commit:
* Defers can_link_account at Index for accounts that exist and have a linked third‑party provider
* Ensures Signin prompts when not coming from email‑first OR when a linked third‑party account is present
* Clarifies inline comments in Index and Signin to document the deferral logic and legacy behavior
Closes #FXA-12714