fixed stupid shit
This commit is contained in:
parent
8f6ca0064d
commit
c59ed46e7b
|
@ -116,6 +116,8 @@ class plugin_ldap {
|
||||||
|
|
||||||
//build user group insert array
|
//build user group insert array
|
||||||
$array['user_groups'][0]['user_group_uuid'] = uuid();
|
$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]['domain_uuid'] = $this->domain_uuid;
|
||||||
$array['user_groups'][0]['group_name'] = 'user';
|
$array['user_groups'][0]['group_name'] = 'user';
|
||||||
$array['user_groups'][0]['user_uuid'] = $this->user_uuid;
|
$array['user_groups'][0]['user_uuid'] = $this->user_uuid;
|
||||||
|
@ -153,4 +155,4 @@ class plugin_ldap {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue