From 2a673bdc0c3fdac469d36d838cbc5e44ed8c0b09 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 3 May 2021 12:53:03 +0200 Subject: [PATCH] Remove password from private data --- www/common/sframe-common-outer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index d24f62f9d..198d17099 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -626,7 +626,6 @@ define([ }, isNewFile: isNewFile, isDeleted: isDeleted, - password: password, channel: secret.channel, enableSF: localStorage.CryptPad_SF === "1", // TODO to remove when enabled by default devMode: localStorage.CryptPad_dev === "1", @@ -651,6 +650,7 @@ define([ if (isSafe) { additionalPriv.hashes = hashes; + additionalPriv.password = password; } for (var k in additionalPriv) { metaObj.priv[k] = additionalPriv[k]; }