We now map ldap users instead of ignoring them if usernames match
This commit is contained in:
@@ -350,7 +350,7 @@ describe('External LDAP', function () {
|
||||
})).to.be.ok();
|
||||
});
|
||||
|
||||
it('ignores already existing users with same username', async function () {
|
||||
it('mapps already existing users with same username', async function () {
|
||||
gLdapUsers.push({
|
||||
username: admin.username,
|
||||
displayName: 'Something Else',
|
||||
@@ -361,7 +361,7 @@ describe('External LDAP', function () {
|
||||
const result = await users.list();
|
||||
expect(result.find(function (u) {
|
||||
return u.email === 'foobar@bar.com' || u.displayName === 'Something Else';
|
||||
})).to.not.be.ok();
|
||||
})).to.be.ok();
|
||||
});
|
||||
|
||||
it('does not sync group if group sync is disabled', async function () {
|
||||
|
||||
Reference in New Issue
Block a user