blah
This commit is contained in:
parent
45747af260
commit
b65cc3a9a0
@ -1,3 +1,4 @@
|
|||||||
|
const nodemailer = require("nodemailer");
|
||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
service: 'gmail',
|
service: 'gmail',
|
||||||
host: 'smtp.gmail.com',
|
host: 'smtp.gmail.com',
|
||||||
|
@ -622,7 +622,7 @@ app.post("/reset-password", async (req, res) => {
|
|||||||
return res
|
return res
|
||||||
.status(404)
|
.status(404)
|
||||||
.json({
|
.json({
|
||||||
error: "User not found or password not updated. No rows affected.",
|
error: "User not found or password not updated.",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user