Merge pull request #44616 from nextcloud/backport/44575/stable28

[stable28] fix(files_sharing): Disable autocomplete for share label and password
This commit is contained in:
Ferdinand Thiessen 2024-04-02 15:47:36 +02:00 committed by GitHub
commit 7e9ab7fcfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 10 deletions

View file

@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/9845-9845.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long