Browse Source

fix(email-plugin): Fix smtp auth

Michael Bromley 6 years ago
parent
commit
98bc90ad49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/email-plugin/src/email-sender.ts

+ 1 - 1
packages/email-plugin/src/email-sender.ts

@@ -52,7 +52,7 @@ export class EmailSender {
                     host: options.host,
                     host: options.host,
                     port: options.port,
                     port: options.port,
                     secure: options.secure,
                     secure: options.secure,
-                    auth: options.auth.user,
+                    auth: options.auth,
                 } as SMTPTransport.Options);
                 } as SMTPTransport.Options);
                 await this.sendMail(email, transporter);
                 await this.sendMail(email, transporter);
                 break;
                 break;