ldap: fix crash. function was renamed

This commit is contained in:
Girish Ramakrishnan
2024-12-16 20:29:28 +01:00
parent d2e3b80517
commit 43950fc398

View File

@@ -460,7 +460,7 @@ async function verifyMailboxPassword(mailbox, password) {
if (mailbox.ownerType === mail.OWNERTYPE_USER) {
return await users.verify(mailbox.ownerId, password, users.AP_MAIL /* identifier */, { skipTotpCheck: true });
} else if (mailbox.ownerType === mail.OWNERTYPE_GROUP) {
const userIds = await groups.getMembers(mailbox.ownerId);
const userIds = await groups.getMemberIds(mailbox.ownerId);
let verifiedUser = null;
for (const userId of userIds) {