Skip to content

Commit

Permalink
Do not allow to toggle between password and text in sharing
Browse files Browse the repository at this point in the history
This does not makes sense as we do not have the clear text value.

Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed May 9, 2023
1 parent 416f632 commit 62e8117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 62e8117

Please sign in to comment.