Skip to content

Commit

Permalink
Never copy the share link when the password is forced
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Sep 22, 2020
1 parent d94a8f4 commit 2316c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,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()
Expand Down

0 comments on commit 2316c25

Please sign in to comment.