From 36055602b98dcd8772d0036e58d6f234ea22bdfc Mon Sep 17 00:00:00 2001 From: Song Date: Sun, 31 Jan 2021 16:42:23 +0800 Subject: [PATCH] :bug: bug fix --- routers/index.js | 1 + views/configure.ejs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/index.js b/routers/index.js index 5127c6a..622d82a 100644 --- a/routers/index.js +++ b/routers/index.js @@ -143,6 +143,7 @@ router.post('/configure', userRequired, async (req, res, next) => { wechatOpenId: userObj.wechatOpenId, wechatVerifyToken: userObj.wechatVerifyToken, token: await requestToken(userObj.wechatAppId, userObj.wechatAppSecret), + email: userObj.email, smtpServer: userObj.smtpServer, smtpUser: userObj.smtpUser, smtpPass: userObj.smtpPass, diff --git a/views/configure.ejs b/views/configure.ejs index 7de101d..a736a80 100644 --- a/views/configure.ejs +++ b/views/configure.ejs @@ -132,7 +132,7 @@
- +