supporting disabled password option in the JS part, fixes #55

pull/17/head
El RIDO 9 years ago
parent 24a4328c55
commit ce107c928e

@ -443,7 +443,7 @@ $(function() {
*/
cipher: function(key, password, message)
{
password = password.trim();
password = (password || '').trim();
if (password.length == 0)
{
return sjcl.encrypt(key, this.compress(message));

Loading…
Cancel
Save