HomePhabricator

Migrate accounts to correct user email verification state flag

Description

Migrate accounts to correct user email verification state flag

Summary:
Depends on D17785. Fixes T12635. There was a bug where users could verify their primary email without getting the "isEmailVerified" flag set on their accounts.

D17785 fixes this bug. This change migrates affected account to fix their state, now that they can't get in trouble any more (hopefully).

Test Plan:

  • Explicitly removed this flag from a bunch of accounts.
  • Ran migration, saw the accounts get fixed.
  • Ran migration again (storage upgrade --apply ...), saw the accounts not get touched.
  • We have 117 affected accounts on secure, so I'll verify that this fixes them.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12635

Differential Revision: https://secure.phabricator.com/D17786