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>
(cherry picked from commit 6faf8b85d6)
This commit is contained in:
Louis Chemineau 2023-04-27 15:35:22 +02:00 committed by Christopher Ng
parent c214f0d9f2
commit ef4a861b5c
3 changed files with 4 additions and 3 deletions

View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long