Skip to content

Commit c2262d7

Browse files
authored
Merge pull request #23003 from nextcloud/backport/22940/stable18
[stable18] Never copy the share link when the password is forced
2 parents f121ade + 38afacf commit c2262d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/files_sharing/js/dist/files_sharing_tab.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/js/dist/files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/src/components/SharingEntryLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ export default {
681681
// Execute the copy link method
682682
// freshly created share component
683683
// ! somehow does not works on firefox !
684-
if (update || !this.config.enforcePasswordForPublicLink) {
684+
if (!this.config.enforcePasswordForPublicLink) {
685685
// Only copy the link when the password was not forced,
686686
// otherwise the user needs to copy/paste the password before finishing the share.
687687
component.copyLink()

0 commit comments

Comments
 (0)