Răsfoiți Sursa

:bug: bug fix

Song 4 ani în urmă
părinte
comite
36055602b9
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 1 0
      routers/index.js
  2. 1 1
      views/configure.ejs

+ 1 - 0
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,

+ 1 - 1
views/configure.ejs

@@ -132,7 +132,7 @@
                     </div>
                 </article>
                 <div class="control">
-                    <input class="input" name="smtpPass" type="text" placeholder="请输入 SMTP Token">
+                    <input class="input" name="smtpPass" type="text" placeholder="请输入新的 SMTP Token">
                 </div>
             </div>