core: add smtp.verify

This commit is contained in:
undefined committed 2021-06-29 16:52:22 +08:00
1 parent 7dd5b13b8e
commit 5c388daba6
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ export class UserRegisterHandler extends Handler {
system.get('session.unsaved_expire_seconds'),
{ mail },
);
if (system.get('smtp.user')) {
if (system.get('smtp.verify')) {
const m = await this.renderHTML('user_register_mail.html', {
path: `register/${t[0]}`,
url_prefix: (this.domain.host || [])[0] || system.get('server.url'),