mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
Merge branch 'develop' of https://github.com/hydro-dev/Hydro into develop
This commit is contained in:
commit
7d14691926
1 file changed
+5
-1
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user