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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user