From e4b7d65b1c8876928f6ef7f985ab5cb1d77101c2 Mon Sep 17 00:00:00 2001 From: Darian Culver Date: Wed, 13 Aug 2025 12:54:20 +1200 Subject: [PATCH 1/2] fix(files_sharing): use user defined passwords A previous MR(54055) resulted in the NcActionInput component responsible for creating file shares discarding user provided passwords, in favor of the system generated one. This was caused by drift between the component and the underlying Share model, resulting in the component calling .sync on a non-existent attribute, which meant the password was never updated. To reproduce (with password_policy enabled): * Under a files "External Shares", click "Create public link" * Supply a password to the password field, e.g., "testing-password_123" * Click "Create share" * Attempt to navigate to the generated share link and access the shared file with the password you provided at the time of creating the share. * The provided password will be rejected, as it was never updated from the system generated one. Signed-off-by: Darian Culver --- apps/files_sharing/src/components/SharingEntryLink.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 53a336f2c6bc1..f075c79424c69 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -76,7 +76,7 @@