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