minor fix

This commit is contained in:
alejandro.campos@artica.es 2021-10-20 12:48:42 +02:00
parent e7d730ba0d
commit 14076efc69
1 changed files with 4 additions and 0 deletions

View File

@ -373,6 +373,10 @@ function process_user_login_remote($login, $pass, $api=false)
return false;
}
if (is_metaconsole() === true) {
$user_info['metaconsole_access_node'] = $config['ldap_adv_user_node'];
}
$permissions = fill_permissions_ldap($sr);
if (empty($permissions) === true) {
$config['auth_error'] = __('User not found in database or incorrect password');