From df0ce1874fd089fa20248e069e26b3ef423af921 Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Fri, 4 Jul 2025 11:40:58 +0200 Subject: [PATCH] Hardcode default setting to delete files on key change Signed-off-by: Mauro Mura --- src/components/SecuritySection.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SecuritySection.vue b/src/components/SecuritySection.vue index 4a13b6d9e..566967b9f 100644 --- a/src/components/SecuritySection.vue +++ b/src/components/SecuritySection.vue @@ -108,7 +108,8 @@ export default defineComponent({ return { hasKey: loadState('end_to_end_encryption', 'hasKey'), shouldDisplayWarning: false, - deleteEncryptedFiles: false, + deleteEncryptedFiles: true, // this is actually the only change to standard settings; TODO: upstream Nextcloud + modal: false, shouldDisplayE2EEInBrowserWarning: false, userConfig: loadState('end_to_end_encryption', 'userConfig', { e2eeInBrowserEnabled: false }), }