cashmusic/DIY — Issue #147: Do sync on verification
Author: jessevondoom
Created: 2011-11-20 07:55:09+00:00
State: open
Labels: admin, element, plant

If we're sending out verification links we'll need to do the sync to list on return, rather than forcing verification by mailchimp and by us. This means we need to check verification status in the addAddress function and skip sync if the user hasn't been verified.

Right now we're allowing trusted signup, so maybe the verify flag during signup needs to be more than a simple boolean. Think: verification-sent, not-verifying, and trusted-user — the third status for users who have authenticated via Browser ID. So verification-sent we skip sync and wait on the return, not-verifying means we add them to our local list and tell Mailchimp to send a verification, and trusted-user requires no verification on either side...just an add with full verification on both.