mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-04 17:19:47 -04:00
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue