From 25b0d764edcef07bdd5f72d7c25e177de5c3d912 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 10 Jul 2018 16:42:11 +0200 Subject: [PATCH] pass initialState variable when copying your drive in the changeUserPassword function because the hardest problems to debug are always fixed with one line changes --- www/common/cryptpad-common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 2af8e919d..15b5b5f9a 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -780,7 +780,8 @@ define([ newSecret = Hash.getSecrets('drive', newHash); var optsPut = { - owners: [edPublic] + owners: [edPublic], + initialState: '{}', }; console.log("copying contents of old drive to new location");