diff --git a/controllers/subscription.js b/controllers/subscription.js index aa56b2b..e63ee6d 100644 --- a/controllers/subscription.js +++ b/controllers/subscription.js @@ -73,17 +73,17 @@ exports.notifyExpirationFreeAccount= async(req, res, next) => { SITE_NAME: config.siteName, USER_NAME: userInfos.User.name, - LINK_URL : config.siteUrl+"/"+configTpl.updateAccountPage+"#abo" + LINK_URL : config.siteUrl+"/"+configTpl.updateAccountPage+"#subscribe" }; const mailDatas= { mailSubject: txt.mailEndFreeTimeSubject, mailPreheader: txt.mailEndFreeTimeSubject, mailTitle: txt.mailEndFreeTimeSubject, - mailHeaderLinkUrl: config.siteUrl+"/"+configTpl.updateAccountPage+"#abo", + mailHeaderLinkUrl: config.siteUrl+"/"+configTpl.updateAccountPage+"#subscribe", mailHeaderLinkTxt: txt.mailEndFreeTimeLinkTxt, 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 } await toolMail.sendMail(userInfos.User.smtp, userInfos.User.email, txt.mailEndFreeTimeSubject, tool.replaceAll(txt.mailEndFreeTimeBodyTxt, mapMail), "", mailDatas); diff --git a/views/wikilerni/config/fr.js b/views/wikilerni/config/fr.js index 6a555df..a0347a3 100644 --- a/views/wikilerni/config/fr.js +++ b/views/wikilerni/config/fr.js @@ -29,7 +29,7 @@ module.exports = deleteLinkPage : "aurevoir.html?t=", stopMailPage : "stop-mail.html?t=", accountPage: "compte.html", - updateAccountPage: "mon-compte.html", + updateAccountPage: "compte.html", questionnairesManagementPage: "gestion-quizs.html", usersManagementPage: "gestion-utilisateurs.html", aboutPage: "a-propos.html",