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