diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-18 14:06:01 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-18 14:06:01 +0200 |
commit | 40af51cc9bc4fc12ed19fb07800ba107046a74f1 (patch) | |
tree | 225019d01bbf7f25f1e40e09468342816a67d711 /apps/files_sharing/src/components/SharingEntryLink.vue | |
parent | c364b0cb193f66ad15e2950c27113b40037d1bf6 (diff) | |
download | nextcloud-server-40af51cc9bc4fc12ed19fb07800ba107046a74f1.tar.gz nextcloud-server-40af51cc9bc4fc12ed19fb07800ba107046a74f1.zip |
Never copy the share link when the password is forced
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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() |