|
|
|
@ -296,8 +296,6 @@ def _configuration_update_helper():
|
|
|
|
|
reboot_required |= _config_string("config_certfile")
|
|
|
|
|
if config.config_certfile and not os.path.isfile(config.config_certfile):
|
|
|
|
|
return _configuration_result('Certfile location is not valid, please enter correct path', gdriveError)
|
|
|
|
|
|
|
|
|
|
_config_string("config_server_url")
|
|
|
|
|
|
|
|
|
|
_config_checkbox_int("config_uploading")
|
|
|
|
|
_config_checkbox_int("config_anonbrowse")
|
|
|
|
@ -595,7 +593,6 @@ def edit_user(user_id):
|
|
|
|
|
content.default_language = to_save["default_language"]
|
|
|
|
|
if "locale" in to_save and to_save["locale"]:
|
|
|
|
|
content.locale = to_save["locale"]
|
|
|
|
|
|
|
|
|
|
if to_save["email"] and to_save["email"] != content.email:
|
|
|
|
|
existing_email = ub.session.query(ub.User).filter(ub.User.email == to_save["email"].lower()) \
|
|
|
|
|
.first()
|
|
|
|
|