From 40af51cc9bc4fc12ed19fb07800ba107046a74f1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 18 Sep 2020 14:06:01 +0200 Subject: Never copy the share link when the password is forced Signed-off-by: Joas Schilling --- apps/files_sharing/src/components/SharingEntryLink.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue') diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 3ba4e59867e..880f0d8111a 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -708,7 +708,7 @@ export default { // Execute the copy link method // freshly created share component // ! somehow does not works on firefox ! - if (update || !this.config.enforcePasswordForPublicLink) { + if (!this.config.enforcePasswordForPublicLink) { // Only copy the link when the password was not forced, // otherwise the user needs to copy/paste the password before finishing the share. component.copyLink() -- cgit v1.2.3