summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-04-27 15:35:22 +0200
committerLouis Chemineau <louis@chmn.me>2023-05-09 17:33:53 +0200
commit6faf8b85d6192a18f217a38be219b15d90c63b6d (patch)
tree7c018a5de81313b131a87c811bdcdd95f22b98f2 /apps/files_sharing/src
parent31302c45286c2e01649575688995907217236b8b (diff)
downloadnextcloud-server-6faf8b85d6192a18f217a38be219b15d90c63b6d.tar.gz
nextcloud-server-6faf8b85d6192a18f217a38be219b15d90c63b6d.zip
Do not allow to toggle between password and text in sharing
This does not makes sense as we do not have the clear text value. Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/components/SharingEntryLink.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index e45690ba2a0..bf0e94f35c1 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -161,6 +161,7 @@
class="share-link-password"
:class="{ error: errors.password}"
:disabled="saving"
+ :show-trailing-button="hasUnsavedPassword"
:required="config.enforcePasswordForPublicLink"
:value="hasUnsavedPassword ? share.newPassword : '***************'"
icon="icon-password"