Merge pull request #609 from prauscher/disable-passwords

Disable passwords
This commit is contained in:
John McLear 2012-05-13 06:55:47 -07:00
commit 916e52a1eb
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ exports.setPassword = function(padID, password, callback)
if(ERR(err, callback)) return;
//set the password
pad.setPassword(password);
pad.setPassword(password == "" ? null : password);
callback();
});