Merge branch 'ent-9966-acceso-a-nodos-con-usuario-no-admin' into 'develop'

Added metaconsole_access_node value to new_user API function

See merge request artica/pandorafms!5309
This commit is contained in:
Rafael Ameijeiras 2022-12-29 20:32:33 +00:00
commit 2ac254961c
1 changed files with 1 additions and 0 deletions

View File

@ -9601,6 +9601,7 @@ function api_set_new_user($id, $thrash2, $other, $thrash3)
$values['default_event_filter'] = $other['data'][10];
$values['section'] = $other['data'][11];
$values['session_time'] = $other['data'][12];
$values['metaconsole_access_node'] = $other['data'][13];
if (empty($password) === true) {
returnError('Password cannot be empty.');