core: fix user_lostpass_mail

This commit is contained in:
undefined committed 2021-01-16 12:46:56 +08:00
1 parent 0ae8126da6
commit 991ffa6c86
3 files changed
+4 -3

No files matched your search

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