fix build

This commit is contained in:
Max Peintner
2025-01-31 15:26:03 +01:00
parent 79dcef3785
commit 3021332ba1

View File

@@ -215,9 +215,11 @@ export async function sendPassword(command: UpdateSessionCommand) {
const humanUser = user.type.case === "human" ? user.type.value : undefined;
const expirySettings = await getPasswordExpirySettings(
command.organization ?? session.factors?.user?.organizationId,
);
const expirySettings = await getPasswordExpirySettings({
serviceUrl,
serviceRegion,
orgId: command.organization ?? session.factors?.user?.organizationId,
});
// check if the user has to change password first
const passwordChangedCheck = checkPasswordChangeRequired(