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
F13237494: D17785.id.diff
Tue, May 21, 1:49 PM
F13236228: D17785.diff
Tue, May 21, 8:49 AM
F13216315: D17785.id42765.diff
Fri, May 17, 11:59 PM
F13200215: D17785.diff
Mon, May 13, 10:41 PM
F13182493: D17785.diff
Thu, May 9, 11:32 PM
F13175939: D17785.id.diff
Wed, May 8, 9:00 AM
Unknown Object (File)
Mon, May 6, 2:10 AM
Unknown Object (File)
Fri, May 3, 8:21 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable