nodemailer
Advanced tools
Comparing version 3.0.1 to 3.0.2
# CHANGELOG | ||
## v3.0.2 2017-02-04 | ||
- Fixed a bug with OAuth2 login where error callback was fired twice if getToken was not available. | ||
## v3.0.1 2017-02-03 | ||
@@ -4,0 +8,0 @@ |
@@ -1412,5 +1412,2 @@ 'use strict'; | ||
_handleXOauth2Token(isRetry, callback) { | ||
this._responseActions.push(str => { | ||
this._actionAUTHComplete(str, isRetry, callback); | ||
}); | ||
this._auth.oauth2.getToken(isRetry, (err, accessToken) => { | ||
@@ -1426,3 +1423,5 @@ if (err) { | ||
} | ||
this._responseActions.push(str => { | ||
this._actionAUTHComplete(str, isRetry, callback); | ||
}); | ||
this._sendCommand('AUTH XOAUTH2 ' + this._auth.oauth2.buildXOAuth2Token(accessToken)); | ||
@@ -1429,0 +1428,0 @@ }); |
{ | ||
"name": "nodemailer", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Easy as cake e-mail sending from your Node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/nodemailer.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
420033