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 @@
- +