Merge pull request #839 from mailpoet/mailer_endpoint_update

Prevents setting current user's name to recipient of test email [MAILPOET-846]
This commit is contained in:
stoletniy
2017-03-06 10:38:34 +03:00
committed by GitHub

View File

@ -717,11 +717,7 @@
text: "<%= __('Yup, it works! You can start blasting away emails to the moon.') %>"
}
},
subscriber: {
first_name: "<%= current_user.display_name %>",
last_name: "",
email: recipient
}
subscriber: recipient
}
}).always(function() {
MailPoet.Modal.loading(false);