mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 10:27:33 +00:00
require organization
This commit is contained in:
@@ -33,7 +33,7 @@ export default async function Page(props: {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const missingData = !firstname || !lastname || !email;
|
const missingData = !firstname || !lastname || !email || !organization;
|
||||||
|
|
||||||
const legal = await getLegalAndSupportSettings({
|
const legal = await getLegalAndSupportSettings({
|
||||||
serviceUrl,
|
serviceUrl,
|
||||||
@@ -73,7 +73,7 @@ export default async function Page(props: {
|
|||||||
email={email}
|
email={email}
|
||||||
firstname={firstname}
|
firstname={firstname}
|
||||||
lastname={lastname}
|
lastname={lastname}
|
||||||
organization={organization}
|
organization={organization as string} // organization is guaranteed to be a string here otherwise we would have returned earlier
|
||||||
requestId={requestId}
|
requestId={requestId}
|
||||||
></SetRegisterPasswordForm>
|
></SetRegisterPasswordForm>
|
||||||
)}
|
)}
|
||||||
|
@@ -31,7 +31,7 @@ type Props = {
|
|||||||
email: string;
|
email: string;
|
||||||
firstname: string;
|
firstname: string;
|
||||||
lastname: string;
|
lastname: string;
|
||||||
organization?: string;
|
organization: string;
|
||||||
requestId?: string;
|
requestId?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user