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
F19899499: D17785.diff
Sun, Mar 29, 9:11 PM
F19893339: D17785.id42765.diff
Sat, Mar 28, 6:55 AM
F19844192: D17785.id42762.diff
Thu, Mar 12, 5:13 AM
F19836380: D17785.id42762.diff
Wed, Mar 11, 9:56 AM
F19822773: D17785.id42762.diff
Sat, Mar 7, 8:21 AM
F19800452: D17785.diff
Feb 28 2026, 3:34 PM
F19799801: D17785.diff
Feb 28 2026, 5:13 AM
F19696521: D17785.diff
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