From 66b8c9320535b25878c79e6ec9924f324405f62f Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 30 Dec 2016 13:23:09 +0100 Subject: [PATCH] remember time of first visit --- www/user/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/user/main.js b/www/user/main.js index eb0237bc7..44573e541 100644 --- a/www/user/main.js +++ b/www/user/main.js @@ -199,6 +199,9 @@ define([ // remember your ed seed proxy.ed = Cryptpad.uint8ArrayToHex(opt.edSeed); + // remember the first time you visited + proxy.ctime = opt.now; + var next = function () { revealConfirm(false); handleRegisteredUser(proxy, opt); @@ -280,6 +283,7 @@ define([ data: {}, validateKey: keys.validateKey, // derived validation key crypto: Crypto.createEncryptor(opt.keys), + logLevel: 1, }; var rt = APP.rt = Listmap.create(config);