Icu 10104 ldap accounts update (#1785)

* chore: 🤖 Add support for ldap account creation
This commit is contained in:
Dharini Jeeva authored and GitHub committed 2023-07-27 09:18:29 -07:00
1 parent e3557e297b
commit 05d62f3da5
9 files changed
+238 -122

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ export default factory.extend({
case TYPE_AUTH_METHOD_PASSWORD:
return { login_name: faker.internet.userName() };
case TYPE_AUTH_METHOD_LDAP: {
const groupsAmount = faker.datatype.number({ min: 1, max: 3 });
const groupsAmount = faker.datatype.number({ min: 3, max: 5 });
let groups = [];
for (let i = 0; i < groupsAmount; i++) {
groups.push(faker.random.word());