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 Pytal
parent 3b64d34d1d
commit 4b46613ca9
5 changed files with 7 additions and 6 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"

4
dist/core-common.js vendored

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