Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow disabling Passwords by setting them to an empty string

  • Loading branch information...
commit 085c01f5e753a824a9f9cc0afad483a8a385242b 1 parent d0df0ff
@prauscher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node/db/API.js
View
2  src/node/db/API.js
@@ -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();
});
Please sign in to comment.
Something went wrong with that request. Please try again.