fix home screen

This commit is contained in:
alejandro.campos@artica.es 2024-01-15 17:42:41 +01:00
parent 6930631c66
commit f52700f392
2 changed files with 5 additions and 2 deletions

View File

@ -430,6 +430,11 @@ if ($create_user === true) {
$values['data_section'] = get_parameter('data_section_external');
}
if (is_metaconsole() === true) {
$values['metaconsole_section'] = $values['section'];
$values['metaconsole_data_section'] = $values['data_section'];
}
// $values['section'] = $homeScreenValues[$values['section']];
if (enterprise_installed() === true) {
$values['force_change_pass'] = 1;

View File

@ -816,8 +816,6 @@ function update_user(string $id_user, array $values)
$values['metaconsole_data_section'] = $values['data_section'];
$values['metaconsole_default_event_filter'] = $values['default_event_filter'];
unset($values['id_skin']);
unset($values['section']);
unset($values['data_section']);
unset($values['default_event_filter']);
}
}