Fix file manager with a chosen hash

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

No files matched your search

+1
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;