From 2409f615e2c295d71d7cd6db84d7c5eb900a927b Mon Sep 17 00:00:00 2001 From: Kent Delante Date: Fri, 29 May 2026 15:05:28 +0800 Subject: [PATCH] fix(files_sharing): clear the password after saving Signed-off-by: Kent Delante --- apps/files_sharing/src/views/SharingDetailsTab.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index fc145396195..c1cc67ca722 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -1173,6 +1173,11 @@ export default { })) } + // clear the password after saving + if (this.share.newPassword) { + this.$set(this.share, 'newPassword', undefined) + } + this.$emit('close-sharing-details') },