mirror of
https://github.com/nextcloud/server.git
synced 2026-07-11 10:36:08 -04:00
Merge pull request #22322 from nextcloud/bugfix/noid/only-copy-share-link-when-not-forced-password
This commit is contained in:
commit
17be48cccf
3 changed files with 7 additions and 3 deletions
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,11 @@ export default {
|
|||
// Execute the copy link method
|
||||
// freshly created share component
|
||||
// ! somehow does not works on firefox !
|
||||
component.copyLink()
|
||||
if (update || !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()
|
||||
}
|
||||
|
||||
} catch ({ response }) {
|
||||
const message = response.data.ocs.meta.message
|
||||
|
|
|
|||
Loading…
Reference in a new issue