This commit is contained in:
newtbot committed 2023-12-27 17:00:35 +08:00
1 parent 45747af260
commit b65cc3a9a0
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
const nodemailer = require("nodemailer");
const transporter = nodemailer.createTransport({
service: 'gmail',
host: 'smtp.gmail.com',
+1 -1
View File
@@ -622,7 +622,7 @@ app.post("/reset-password", async (req, res) => {
return res
.status(404)
.json({
error: "User not found or password not updated. No rows affected.",
error: "User not found or password not updated.",
});
}
}