Logged out members signin link in development

no-issue

This makes it easier to test locally when mail config hasn't been setup
This commit is contained in:
Fabien O'Carroll 2019-09-16 09:33:38 +08:00
parent c82418153d
commit 359d89d897

View File

@ -102,6 +102,9 @@ function createApiInstance() {
mail: {
transporter: {
sendMail(message) {
if (process.env.NODE_ENV !== 'production') {
common.logging.warn(message.text);
}
return ghostMailer.send(Object.assign({subject: 'Signin'}, message));
}
}