rapid7/metasploit-framework — pull request #765 by wchen-r7 (2012-09-06 06:13:06+00:00)
Title: Fix NoMethodError for nil:NilClass bug

The 'unless' statement expects there's always a value for USERNAME and PASSWORD. We might as well just set '' as the default value to avoid the NoMethodError mistake. Related to bug #7140.

Note: USERNAME and PASSWORD are only used in the login function.