Use the correct hash when opening the todo app for the first time

This commit is contained in:
yflory 2017-12-15 15:33:11 +01:00
parent 3188ea3f35
commit 92a8e107d7

View File

@ -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({