diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-04-04 12:55:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 12:55:41 +0200 |
commit | 2ddac31094fb5d100ceb1d1344a2e44636cc42ba (patch) | |
tree | 612beb0b29eed95582f83cb2a0ce3c6c3f0973dd /apps | |
parent | fdadaf213203d2612c0c1d6998a00a28af67ff9d (diff) | |
parent | 72a3c374b67fece35dfbb0983b6c63e754128bcc (diff) | |
download | nextcloud-server-2ddac31094fb5d100ceb1d1344a2e44636cc42ba.tar.gz nextcloud-server-2ddac31094fb5d100ceb1d1344a2e44636cc42ba.zip |
Merge pull request #44617 from nextcloud/backport/44575/stable29
[stable29] fix(files_sharing): Disable autocomplete for share label and password
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/src/views/SharingDetailsTab.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 92222a05c5a..e852a0f8599 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -101,14 +101,15 @@ role="region"> <section> <NcInputField v-if="isPublicShare" - :value.sync="share.label" - type="text" - :label="t('files_sharing', 'Share label')" /> + autocomplete="off" + :label="t('files_sharing', 'Share label')" + :value.sync="share.label" /> <template v-if="isPublicShare"> <NcCheckboxRadioSwitch :checked.sync="isPasswordProtected" :disabled="isPasswordEnforced"> {{ t('files_sharing', 'Set password') }} </NcCheckboxRadioSwitch> <NcPasswordField v-if="isPasswordProtected" + autocomplete="new-password" :value="hasUnsavedPassword ? share.newPassword : ''" :error="passwordError" :helper-text="errorPasswordLabel" |