Module library user pass let empty user/pass

This commit is contained in:
Luis Calvo 2020-12-10 10:49:13 +01:00
parent 463013b06a
commit d0b119c05f
1 changed files with 2 additions and 2 deletions

View File

@ -1619,12 +1619,12 @@ function config_update_config()
case 'module_library':
$module_library_user = get_parameter('module_library_user');
if ($module_library_user == '' || !config_update_value('module_library_user', $module_library_user)) {
if (!config_update_value('module_library_user', $module_library_user)) {
$error_update[] = __('User');
}
$module_library_password = get_parameter('module_library_password');
if ($module_library_password == '' || !config_update_value('module_library_password', $module_library_password)) {
if (!config_update_value('module_library_password', $module_library_password)) {
$error_update[] = __('Password');
}
break;