diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-04-02 15:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 15:47:36 +0200 |
commit | 7e9ab7fcfc055ffdd91d78b28e64a9a26f68478f (patch) | |
tree | daf2f1e94cb43b4c0a40171a0db7c52118c092f0 /apps | |
parent | b261cc3cc9ae6e2cc76c9a0211a963c449392fc6 (diff) | |
parent | 015faf58c0fe6af76204ebaf888cfee438053185 (diff) | |
download | nextcloud-server-7e9ab7fcfc055ffdd91d78b28e64a9a26f68478f.tar.gz nextcloud-server-7e9ab7fcfc055ffdd91d78b28e64a9a26f68478f.zip |
Merge pull request #44616 from nextcloud/backport/44575/stable28
[stable28] 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 5f0519e6c64..5b13f8d3fba 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -97,14 +97,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" |