Merge pull request #135 from fantasticit/fix/mail-error

server: fix send mail error
pull/136/head
fantasticit 2022-07-25 15:45:33 +08:00 committed by GitHub
commit 6c9666c02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ export class SystemService {
user: emailConfig.user,
pass: emailConfig.pass,
},
tls: {
rejectUnauthorized: false,
},
});
return new Promise((resolve, reject) => {