Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Nov 16, 2024
1 parent ec003a2 commit ec8bbe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/router_account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 失败" });
}
});
Expand Down Expand Up @@ -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 失败" });
}
});
Expand Down

0 comments on commit ec8bbe6

Please sign in to comment.