mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Allow disabling Passwords by setting them to an empty string
This commit is contained in:
parent
2435003403
commit
0e7cb78ec2
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ exports.setPassword = function(padID, password, callback)
|
||||||
if(ERR(err, callback)) return;
|
if(ERR(err, callback)) return;
|
||||||
|
|
||||||
//set the password
|
//set the password
|
||||||
pad.setPassword(password);
|
pad.setPassword(password == "" ? null : password);
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue