Merge pull request #44575 from nextcloud/fix/no-autocomplete-sharing

fix(files_sharing): Disable autocomplete for share label and password
pull/44619/head
Ferdinand Thiessen 2 months ago committed by GitHub
commit 6c3a1a360a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save