Add new email template to admin config

This commit is contained in:
2021-03-21 12:58:55 +01:00
parent f00cb37790
commit 8ae91b57f8
+7
View File
@@ -1,3 +1,5 @@
const forgotPasswordTemplate = require('./email-templates/forgot-password');
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
@@ -7,5 +9,10 @@ module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET', '71b106d7b2a4853774b0b27424b77097'),
},
forgotPassword: {
from: env('SMTP_FROM'),
replyTo: env('SMTP_REPLY_TO'),
emailTemplate: forgotPasswordTemplate,
},
},
});