1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:19:26 +00:00

Send a password reset email

This commit is contained in:
2022-02-14 20:55:20 +00:00
parent 12090cefe8
commit bf8b99a0d1

View File

@@ -266,12 +266,9 @@ class Emailer {
if (typeof this.#transporter === 'undefined')
await this.getTransporter();
console.log(`Sending`);
console.log(email);
console.log(this.#host,
this.#user,
this.#password,
this.#secure);
const message = email.getMessageObject();
this.#transporter.sendMail(message);
}
/**