Use the correct hash when opening the todo app for the first time
parent
3188ea3f35
commit
92a8e107d7
|
@ -40,7 +40,7 @@ define([
|
|||
Cryptpad.getTodoHash(function (hash) {
|
||||
var nHash = hash || Utils.Hash.createRandomHash();
|
||||
if (!hash) { Cryptpad.setTodoHash(nHash); }
|
||||
cb(null, Utils.Hash.getSecrets('todo', hash));
|
||||
cb(null, Utils.Hash.getSecrets('todo', nHash));
|
||||
});
|
||||
};
|
||||
SFCommonO.start({
|
||||
|
|
Loading…
Reference in New Issue