Browse Source

fixed stupid shit

master
i am da real crt yes 3 months ago
parent
commit
c59ed46e7b
  1. 4
      core/authentication/resources/classes/plugins/ldap.php

4
core/authentication/resources/classes/plugins/ldap.php

@ -116,6 +116,8 @@ class plugin_ldap {
//build user group insert array
$array['user_groups'][0]['user_group_uuid'] = uuid();
$array['user_groups'][0]['group_uuid'] = (!is_null($_SESSION["ldap"]["assign_group_uuid"]) && strlen($_SESSION["ldap"]["assign_group_uuid"]) > 0) ? $_SESSION["ldap"]["assign_group_uuid"] : uuid();
//To set default group add default setting : Categ ldap Subcateg: assign_group_uuid Type: uuid Value : group UUID
$array['user_groups'][0]['domain_uuid'] = $this->domain_uuid;
$array['user_groups'][0]['group_name'] = 'user';
$array['user_groups'][0]['user_uuid'] = $this->user_uuid;
@ -153,4 +155,4 @@ class plugin_ldap {
}
}
?>
?>
Loading…
Cancel
Save