nextcloud-server/apps/settings
Daniel Calviño Sánchez 2c1a1b1779
Disable "Enforce password protection" if not asking for a password
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be disabled if its parent option is unchecked.
Although other dependant options in the sharing settings are fully
hidden instead of just disabled this option is disabled but shown to
avoid confusion when updating from a previous Nextcloud version where
"Always ask for a password" was unchecked and "Enforce password
protection" was checked.

Besides that, due to their dependency the enforced password protection
is now automatically unchecked too if its parent option is unchecked.

Finally, the groups excluded from password requirements are also
disabled when "Always ask for a password" is unchecked, as they might be
still shown if "Enforce password protection" was checked due to an
update from a previous version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:34 +07:00
..
appinfo chore(release): Bump requirements and versions in apps/ 2023-05-17 10:44:23 +07:00
composer chore(autoloader): Update autoloaders with composer 2.5.5 2023-04-21 15:53:55 +07:00
css Finally no with seams better to be relevant with other fields 2023-05-16 14:21:54 +07:00
data
img fix(assets): Optimize PNGs with optipng 0.7.7 2023-04-24 09:01:38 +07:00
js Create `<h3>` headings for profile page. Replace `<label>` which have no conncted `<input>` with `<h3>` heading 2023-03-24 08:49:19 +07:00
l10n Fix(l10n): Update translations from Transifex 2023-05-22 00:17:43 +07:00
lib chore(security): Bump "Expires" of well-known/security.txt 2023-05-17 10:32:16 +07:00
src Disable "Enforce password protection" if not asking for a password 2023-05-22 12:44:34 +07:00
templates Disable "Enforce password protection" if not asking for a password 2023-05-22 12:44:34 +07:00
tests address review and fix tests 2023-04-18 11:33:53 +07:00
.editorconfig
.gitignore
.l10nignore