mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
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:
parent
c82418153d
commit
359d89d897
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user