Skip to content

Commit 2ddac31

Browse files
authored
Merge pull request #44617 from nextcloud/backport/44575/stable29
[stable29] fix(files_sharing): Disable autocomplete for share label and password
2 parents fdadaf2 + 72a3c37 commit 2ddac31

8 files changed

Lines changed: 11 additions & 10 deletions

File tree

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,15 @@
101101
role="region">
102102
<section>
103103
<NcInputField v-if="isPublicShare"
104-
:value.sync="share.label"
105-
type="text"
106-
:label="t('files_sharing', 'Share label')" />
104+
autocomplete="off"
105+
:label="t('files_sharing', 'Share label')"
106+
:value.sync="share.label" />
107107
<template v-if="isPublicShare">
108108
<NcCheckboxRadioSwitch :checked.sync="isPasswordProtected" :disabled="isPasswordEnforced">
109109
{{ t('files_sharing', 'Set password') }}
110110
</NcCheckboxRadioSwitch>
111111
<NcPasswordField v-if="isPasswordProtected"
112+
autocomplete="new-password"
112113
:value="hasUnsavedPassword ? share.newPassword : ''"
113114
:error="passwordError"
114115
:helper-text="errorPasswordLabel"

dist/1368-1368.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/1368-1368.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/938-938.js

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

dist/938-938.js.map

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

dist/files_sharing-files_sharing_tab.js

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

dist/files_sharing-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.

0 commit comments

Comments
 (0)