瀏覽代碼

clean code

kaori 4 年之前
父節點
當前提交
8480879818
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/server/routes/forgot-password.js

+ 0 - 3
src/server/routes/forgot-password.js

@@ -11,8 +11,6 @@ module.exports = function(crowi, app) {
 
 
   async function sendPasswordResetEmail() {
-    // send mails to all admin users (derived from crowi) -- 2020.06.18 Yuki Takei
-    // const appTitle = appService.getAppTitle();
 
     return mailService.send({
       to: 'kaori@weseek.co.jp',
@@ -23,7 +21,6 @@ module.exports = function(crowi, app) {
 
   api.get = async function(req, res) {
     await sendPasswordResetEmail();
-
     return;
   };