Page MenuHomePhabricator

When a user changes to a verified primary address, mark their account as verified
ClosedPublic

Authored by epriestley on Apr 24 2017, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 29 2026, 9:11 PM
Unknown Object (File)
Mar 28 2026, 6:55 AM
Unknown Object (File)
Mar 12 2026, 5:13 AM
Unknown Object (File)
Mar 11 2026, 9:56 AM
Unknown Object (File)
Mar 7 2026, 8:21 AM
Unknown Object (File)
Feb 28 2026, 3:34 PM
Unknown Object (File)
Feb 28 2026, 5:13 AM
Unknown Object (File)
Feb 10 2026, 2:28 PM
Subscribers
None

Details

Summary

Ref T12635. See that task for discussion.

You can currently end up with a verified primary address but no "verified" flag on your account through an unusual sequence of address mutations.

Test Plan
  • Registered without verifying, using address "A".
  • Added a second email address, address "B".
  • Verified B (most easily with bin/auth verify).
  • Changed my primary email to B.
  • Before patch: account not verified.
  • After patch: account verified.

Diff Detail

Repository
rP Phabricator
Branch
verify1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16689
Build 22260: Run Core Tests
Build 22259: arc lint + arc unit