Permalink
Browse files

fix for old api auth bug

  • Loading branch information...
1 parent 36d191c commit 0059ec0cf8e84ef5f45dd37753501fb87f6c6a6b Andris Reinman committed Apr 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/engines/smtp.js
  2. +1 −1 package.json
View
@@ -55,7 +55,7 @@ SMTPTransport.prototype.initOptions = function(){
}
this.options.auth.user = this.options.auth.user || this.options.user;
this.options.auth.pass = this.options.auth.pass || this.options.pass;
- this.options.auth.pass = this.options.auth.XOAuthToken || this.options.XOAuthToken;
+ this.options.auth.XOAuthToken = this.options.auth.XOAuthToken || this.options.XOAuthToken;
}
if(this.options.ssl){
View
@@ -1,7 +1,7 @@
{
"name": "nodemailer",
"description": "Easy to use module to send e-mails, supports unicode and SSL/TLS",
- "version": "0.3.14",
+ "version": "0.3.15",
"author" : "Andris Reinman",
"maintainers":[
{

0 comments on commit 0059ec0

Please sign in to comment.