remember time of first visit

pull/1/head
ansuz 8 years ago
parent ba4df1a22c
commit 66b8c93205

@ -199,6 +199,9 @@ define([
// remember your ed seed // remember your ed seed
proxy.ed = Cryptpad.uint8ArrayToHex(opt.edSeed); proxy.ed = Cryptpad.uint8ArrayToHex(opt.edSeed);
// remember the first time you visited
proxy.ctime = opt.now;
var next = function () { var next = function () {
revealConfirm(false); revealConfirm(false);
handleRegisteredUser(proxy, opt); handleRegisteredUser(proxy, opt);
@ -280,6 +283,7 @@ define([
data: {}, data: {},
validateKey: keys.validateKey, // derived validation key validateKey: keys.validateKey, // derived validation key
crypto: Crypto.createEncryptor(opt.keys), crypto: Crypto.createEncryptor(opt.keys),
logLevel: 1,
}; };
var rt = APP.rt = Listmap.create(config); var rt = APP.rt = Listmap.create(config);

Loading…
Cancel
Save