update dependencies

This commit is contained in:
Dawid Dziurla committed 2020-03-24 13:34:13 +01:00
1 parent 7dcd3223b9
commit fafdc9738d
13 files changed
+125 -41

No files matched your search

+2 -2
View File
@@ -267,7 +267,7 @@ class SMTPTransport extends EventEmitter {
let auth = this.getAuth(mail.data.auth);
if (auth && connection.allowsAuth) {
if (auth && (connection.allowsAuth || options.forceAuth)) {
connection.login(auth, err => {
if (auth && auth !== this.auth && auth.oauth2) {
auth.oauth2.removeAllListeners();
@@ -370,7 +370,7 @@ class SMTPTransport extends EventEmitter {
let authData = this.getAuth({});
if (authData && connection.allowsAuth) {
if (authData && (connection.allowsAuth || options.forceAuth)) {
connection.login(authData, err => {
if (returned) {
return;