Merge pull request #44617 from nextcloud/backport/44575/stable29

[stable29] fix(files_sharing): Disable autocomplete for share label and password
This commit is contained in:
Arthur Schiwon 2024-04-04 12:55:41 +02:00 committed by GitHub
commit 2ddac31094
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 11 additions and 10 deletions

View file

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

3
dist/1368-1368.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
dist/938-938.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/938-938.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