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
F13342325: D17785.diff
Thu, Jun 20, 12:10 PM
F13335536: D17785.diff
Wed, Jun 19, 2:18 AM
F13322526: D17785.diff
Fri, Jun 14, 9:48 AM
F13302974: D17785.diff
Sat, Jun 8, 6:09 AM
F13292093: D17785.id.diff
Wed, Jun 5, 1:20 AM
F13274160: D17785.id42762.diff
Fri, May 31, 3:21 AM
F13274158: D17785.id42765.diff
Fri, May 31, 3:21 AM
F13269905: D17785.diff
Wed, May 29, 8:07 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
Branch
verify1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16689
Build 22260: Run Core Tests
Build 22259: arc lint + arc unit