Rectification erreur url page abonnement de l'utilisateur.
This commit is contained in:
parent
547c3f30bd
commit
cadbe919f0
@ -73,17 +73,17 @@ exports.notifyExpirationFreeAccount= async(req, res, next) =>
|
|||||||
{
|
{
|
||||||
SITE_NAME: config.siteName,
|
SITE_NAME: config.siteName,
|
||||||
USER_NAME: userInfos.User.name,
|
USER_NAME: userInfos.User.name,
|
||||||
LINK_URL : config.siteUrl+"/"+configTpl.updateAccountPage+"#abo"
|
LINK_URL : config.siteUrl+"/"+configTpl.updateAccountPage+"#subscribe"
|
||||||
};
|
};
|
||||||
const mailDatas=
|
const mailDatas=
|
||||||
{
|
{
|
||||||
mailSubject: txt.mailEndFreeTimeSubject,
|
mailSubject: txt.mailEndFreeTimeSubject,
|
||||||
mailPreheader: txt.mailEndFreeTimeSubject,
|
mailPreheader: txt.mailEndFreeTimeSubject,
|
||||||
mailTitle: txt.mailEndFreeTimeSubject,
|
mailTitle: txt.mailEndFreeTimeSubject,
|
||||||
mailHeaderLinkUrl: config.siteUrl+"/"+configTpl.updateAccountPage+"#abo",
|
mailHeaderLinkUrl: config.siteUrl+"/"+configTpl.updateAccountPage+"#subscribe",
|
||||||
mailHeaderLinkTxt: txt.mailEndFreeTimeLinkTxt,
|
mailHeaderLinkTxt: txt.mailEndFreeTimeLinkTxt,
|
||||||
mailMainContent: tool.replaceAll(txt.mailEndFreeTimeBodyHTML, mapMail),
|
mailMainContent: tool.replaceAll(txt.mailEndFreeTimeBodyHTML, mapMail),
|
||||||
linksCTA: [{ url:config.siteUrl+"/"+configTpl.updateAccountPage+"#abo", txt:txt.mailEndFreeTimeLinkTxt }],
|
linksCTA: [{ url:config.siteUrl+"/"+configTpl.updateAccountPage+"#subscribe", txt:txt.mailEndFreeTimeLinkTxt }],
|
||||||
mailRecipientAddress: userInfos.User.email
|
mailRecipientAddress: userInfos.User.email
|
||||||
}
|
}
|
||||||
await toolMail.sendMail(userInfos.User.smtp, userInfos.User.email, txt.mailEndFreeTimeSubject, tool.replaceAll(txt.mailEndFreeTimeBodyTxt, mapMail), "", mailDatas);
|
await toolMail.sendMail(userInfos.User.smtp, userInfos.User.email, txt.mailEndFreeTimeSubject, tool.replaceAll(txt.mailEndFreeTimeBodyTxt, mapMail), "", mailDatas);
|
||||||
|
@ -29,7 +29,7 @@ module.exports =
|
|||||||
deleteLinkPage : "aurevoir.html?t=",
|
deleteLinkPage : "aurevoir.html?t=",
|
||||||
stopMailPage : "stop-mail.html?t=",
|
stopMailPage : "stop-mail.html?t=",
|
||||||
accountPage: "compte.html",
|
accountPage: "compte.html",
|
||||||
updateAccountPage: "mon-compte.html",
|
updateAccountPage: "compte.html",
|
||||||
questionnairesManagementPage: "gestion-quizs.html",
|
questionnairesManagementPage: "gestion-quizs.html",
|
||||||
usersManagementPage: "gestion-utilisateurs.html",
|
usersManagementPage: "gestion-utilisateurs.html",
|
||||||
aboutPage: "a-propos.html",
|
aboutPage: "a-propos.html",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user