Fix for #1550 (password prompt for LDAP and anonymous browsing)

This commit is contained in:
Ozzieisaacs
2020-11-15 17:16:01 +01:00
parent 70da46b05e
commit ceefba2743
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -646,7 +646,9 @@ def _configuration_update_helper():
return _configuration_result(_('Certfile Location is not Valid, Please Enter Correct Path'), gdriveError)
_config_checkbox_int(to_save, "config_uploading")
_config_checkbox_int(to_save, "config_anonbrowse")
# Reboot on config_anonbrowse with enabled ldap, as decoraters are changed in this case
reboot_required |= (_config_checkbox_int(to_save, "config_anonbrowse")
and config.config_login_type == constants.LOGIN_LDAP)
_config_checkbox_int(to_save, "config_public_reg")
_config_checkbox_int(to_save, "config_register_email")
reboot_required |= _config_checkbox_int(to_save, "config_kobo_sync")