mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Activation completed
This commit is contained in:
@ -9,7 +9,8 @@ let transporter = nodemailer.createTransport({
|
||||
}
|
||||
});
|
||||
|
||||
function sendConfirmationLink(destinationEmail, confirmationLink) {
|
||||
function sendConfirmationLink(destinationEmail, code) {
|
||||
const confirmationLink = `${process.env.FRONT_END_URL}/activate-account.html?q=${code}`
|
||||
let mailOptions = {
|
||||
from: `"Blink" ${process.env.SMTP_USERNAME}`,
|
||||
to: destinationEmail,
|
||||
|
@ -66,7 +66,7 @@ const updatePersonValidator = [
|
||||
];
|
||||
|
||||
const confirmActivationValidator = [
|
||||
check('q').trim().escape()
|
||||
check('code').trim().escape()
|
||||
]
|
||||
|
||||
module.exports = {
|
||||
|
Reference in New Issue
Block a user