Merge pull request #23001 from nextcloud/backport/22940/stable20
[stable20] Never copy the share link when the password is forced
This commit is contained in:
commit
fa0f815dda
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue