Allow disabling Passwords by setting them to an empty string
parent
2435003403
commit
0e7cb78ec2
|
@ -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