mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix user_lostpass_mail
This commit is contained in:
1 parent
0ae8126da6
commit
991ffa6c86
3 files changed
+4
-3
No files matched your search
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user