Merge pull request #609 from prauscher/disable-passwords
Disable passwords
This commit is contained in:
commit
916e52a1eb
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue