Turned on double optin for MailChimp.
This commit is contained in:
parent
ef8e7563b4
commit
fae09aad00
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ UserSchema.statics.updateMailChimp = (doc, callback) ->
|
|||
params.email = if existingProps then {leid: existingProps.leid} else {email: doc.get('email')}
|
||||
params.merge_vars = {groupings: [{id: mail.MAILCHIMP_GROUP_ID, groups: newGroups}]}
|
||||
params.update_existing = true
|
||||
params.double_optin = false
|
||||
params.double_optin = true
|
||||
|
||||
onSuccess = (data) ->
|
||||
doc.set('mailChimp', data)
|
||||
|
|
Reference in a new issue