Merge branch 'develop' of https://github.com/hydro-dev/Hydro into develop

pull/118/head
undefined 4 years ago
commit 7d14691926

@ -141,7 +141,11 @@ class UserLostPassHandler extends Handler {
system.get('session.unsaved_expire_seconds'),
{ uid: udoc._id },
);
const m = await this.renderHTML('user_lostpass_mail.html', { url: `lostpass/${tid}`, uname: udoc.uname });
const m = await this.renderHTML('user_lostpass_mail.html', {
url: `lostpass/${tid}`,
url_prefix: system.get('server.url'),
uname: udoc.uname,
});
await sendMail(mail, 'Lost Password', 'user_lostpass_mail', m);
this.response.template = 'user_lostpass_mail_sent.html';
}

Loading…
Cancel
Save