mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
minor fix
This commit is contained in:
parent
e7d730ba0d
commit
14076efc69
@ -373,6 +373,10 @@ function process_user_login_remote($login, $pass, $api=false)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_metaconsole() === true) {
|
||||||
|
$user_info['metaconsole_access_node'] = $config['ldap_adv_user_node'];
|
||||||
|
}
|
||||||
|
|
||||||
$permissions = fill_permissions_ldap($sr);
|
$permissions = fill_permissions_ldap($sr);
|
||||||
if (empty($permissions) === true) {
|
if (empty($permissions) === true) {
|
||||||
$config['auth_error'] = __('User not found in database or incorrect password');
|
$config['auth_error'] = __('User not found in database or incorrect password');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user