diff --git a/apps/files_sharing/css/sharetabview.css b/apps/files_sharing/css/sharetabview.css index 654f80e51626..95a46dfdf687 100644 --- a/apps/files_sharing/css/sharetabview.css +++ b/apps/files_sharing/css/sharetabview.css @@ -349,7 +349,6 @@ .public-link-modal--input[type="password"], .public-link-modal--input.datepicker { - max-width: 50%; min-width: 175px; } diff --git a/changelog/unreleased/41314 b/changelog/unreleased/41314 new file mode 100644 index 000000000000..6f863bb4b761 --- /dev/null +++ b/changelog/unreleased/41314 @@ -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 \ No newline at end of file diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index c895f049a774..9365345ac75f 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -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 = '' + '