0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Ensured that members emails include our text version

no-issue
This commit is contained in:
Fabien O'Carroll 2019-10-10 20:25:48 +07:00
parent 6070ebaf02
commit 6f160518d1

View file

@ -189,8 +189,10 @@ function createApiInstance() {
if (process.env.NODE_ENV !== 'production') {
common.logging.warn(message.text);
}
let msg = Object.assign({subject: 'Signin'}, message);
let msg = Object.assign({
subject: 'Signin',
forceTextContent: true
}, message);
const subscriptionSettings = settingsCache.get('members_subscription_settings');
if (subscriptionSettings && subscriptionSettings.fromAddress) {