mscdex/node-imap — pull request #165 by NodePing (2013-02-04 19:51:10+00:00)
Title: Undefined username and password are set to empty string ''

On a server that has no auth capabilities, we need to fail, not attempt to log in when username and password are not defined.

Undefined username and password are both set to empty string '' on lines 46,47 so the final conditional block is never reached on line 1450.