supporting disabled password option in the JS part, fixes #55
This commit is contained in:
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…
Reference in New Issue
Block a user