Add new email template to admin config
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
const forgotPasswordTemplate = require('./email-templates/forgot-password');
|
||||||
|
|
||||||
module.exports = ({ env }) => ({
|
module.exports = ({ env }) => ({
|
||||||
host: env('HOST', '0.0.0.0'),
|
host: env('HOST', '0.0.0.0'),
|
||||||
port: env.int('PORT', 1337),
|
port: env.int('PORT', 1337),
|
||||||
@@ -7,5 +9,10 @@ module.exports = ({ env }) => ({
|
|||||||
auth: {
|
auth: {
|
||||||
secret: env('ADMIN_JWT_SECRET', '71b106d7b2a4853774b0b27424b77097'),
|
secret: env('ADMIN_JWT_SECRET', '71b106d7b2a4853774b0b27424b77097'),
|
||||||
},
|
},
|
||||||
|
forgotPassword: {
|
||||||
|
from: env('SMTP_FROM'),
|
||||||
|
replyTo: env('SMTP_REPLY_TO'),
|
||||||
|
emailTemplate: forgotPasswordTemplate,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user