We now map ldap users instead of ignoring them if usernames match

This commit is contained in:
Johannes Zellner
2021-09-15 11:44:39 +02:00
parent a78178ec47
commit 4080d111c1
+2 -2
View File
@@ -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 () {