From ec8bbe60dcdecb003207fce02055874b07c5ff88 Mon Sep 17 00:00:00 2001 From: SunWuyuan <1847261658@qq.com> Date: Sat, 16 Nov 2024 21:53:53 +0800 Subject: [PATCH] 1 --- server/router_account.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/router_account.js b/server/router_account.js index d0dcba7..f02e001 100644 --- a/server/router_account.js +++ b/server/router_account.js @@ -448,7 +448,7 @@ router.post("/magiclink/generate", geetest, async (req, res) => { res.status(200).json({status: "success", message: "Magic Link 已发送到您的邮箱" }); } catch (error) { - console.error("生成 Magic Link 时出错:", error); + //console.error("生成 Magic Link 时出错:", error); res.status(200).json({ status: "error", message: "生成 Magic Link 失败" }); } }); @@ -496,7 +496,7 @@ router.get("/magiclink/validate", async (req, res) => { token: jwtToken, }); } catch (error) { - console.error("验证 Magic Link 时出错:", error); + //console.error("验证 Magic Link 时出错:", error); res.status(200).json({ status: "error",message: "验证 Magic Link 失败" }); } });