ldap: fix crash. function was renamed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user