Fix file manager with a chosen hash

This commit is contained in:
yflory
2016-12-12 18:24:45 +01:00
parent b7f2ef97c7
commit 8e6830d080
2 changed files with 2 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ define([
secret.key = Crypto.createEditCryptor().editKeyStr;
} else {
var hash = secretHash || window.location.hash.slice(1);
console.log(hash);
if (hash.length === 0) {
secret.keys = Crypto.createEditCryptor();
secret.key = Crypto.createEditCryptor().editKeyStr;