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
F15447424: D17785.id42762.diff
Thu, Mar 27, 11:48 PM
F15444224: D17785.id42765.diff
Thu, Mar 27, 8:34 AM
F15439939: D17785.id.diff
Wed, Mar 26, 10:23 AM
F15438045: D17785.diff
Tue, Mar 25, 11:00 PM
F15390388: D17785.id42762.diff
Sat, Mar 15, 6:10 AM
F15333025: D17785.diff
Fri, Mar 7, 11:12 PM
Unknown Object (File)
Feb 27 2025, 10:53 AM
Unknown Object (File)
Feb 27 2025, 8:28 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable