Skip to content

Commit

Permalink
fix: hint user in share dialog about password policy
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Sep 2, 2024
1 parent 2138ce5 commit 49d1fe9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/files_sharing/css/sharetabview.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@

.public-link-modal--input[type="password"],
.public-link-modal--input.datepicker {
max-width: 50%;
min-width: 175px;
}

Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/41314
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Change: Add user hint in share dialog that password policy can apply

To avoid user confusion the share dialog informs the user that password policy
can apply in case enabled.

https://github.com/owncloud/core/pull/41314
2 changes: 1 addition & 1 deletion core/js/sharedialoglinkshareview.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

var PASSWORD_PLACEHOLDER_STARS = '**********';
var PASSWORD_PLACEHOLDER_MESSAGE = t('core', 'Choose a password');
var PASSWORD_PLACEHOLDER_MESSAGE = t('core', 'Choose a password - password policy may apply');
var TEMPLATE =
'<div class="error-message-global hidden"></div>' +
'<div class="public-link-modal">'+
Expand Down

0 comments on commit 49d1fe9

Please sign in to comment.