Skip to content

Commit add2741

Browse files
author
Curtis
committed
Merge pull request #16 from curtislacy/Remove-Debug
Removed some console.logs which could dump passwords into log files.
2 parents 2d46bec + 0f10af3 commit add2741

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/ImapStrategy.js

-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ ImapStrategy.prototype.testAuthentication = function( owner, account, callback )
194194
finished = true;
195195
if( error )
196196
{
197-
console.log( error );
198197
if( error.code == 'AUTHENTICATIONFAILED' )
199198
callback( null, false );
200199
else

server.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ app.configure(function () {
150150
{
151151
req.getAuthTokens = function() { return false; };
152152
}
153-
console.log('>>>', req.isAuthenticated(), req.user);
154-
next();
153+
next();
155154
} );
156155
app.use(express.static(__dirname+'/dist'));
157156

0 commit comments

Comments
 (0)