mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
修复一堆错误
This commit is contained in:
1 parent
2d3cee7753
commit
b5e3b81c17
23 files changed
+120
-159
No files matched your search
@@ -61,7 +61,8 @@ class UserRegisterHandler extends Handler {
|
||||
);
|
||||
if (await system.get('smtp.user')) {
|
||||
const m = await this.renderHTML('user_register_mail.html', {
|
||||
url: `${await system.get('server.url')}/register/${t[0]}`,
|
||||
path: `register/${t[0]}`,
|
||||
url_prefix: await system.get('server.url'),
|
||||
});
|
||||
await sendMail(mail, 'Sign Up', 'user_register_mail', m);
|
||||
this.response.template = 'user_register_mail_sent.html';
|
||||
|
||||
Reference in new issue
Block a user