diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-05-12 14:54:59 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-05-22 12:44:34 +0200 |
commit | 2c1a1b1779bb229b47652e0a15c0885dbacc1e87 (patch) | |
tree | 314ad957cdf0550bcca84e4a80fd61928632261d /dist/settings-legacy-admin.js.map | |
parent | 6daf962b4cf3c480801f9042679951ba735154f4 (diff) | |
download | nextcloud-server-2c1a1b1779bb229b47652e0a15c0885dbacc1e87.tar.gz nextcloud-server-2c1a1b1779bb229b47652e0a15c0885dbacc1e87.zip |
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>
Diffstat (limited to 'dist/settings-legacy-admin.js.map')
0 files changed, 0 insertions, 0 deletions