mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:57:32 +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({
|
||||
serviceUrl,
|
||||
@@ -73,7 +73,7 @@ export default async function Page(props: {
|
||||
email={email}
|
||||
firstname={firstname}
|
||||
lastname={lastname}
|
||||
organization={organization}
|
||||
organization={organization as string} // organization is guaranteed to be a string here otherwise we would have returned earlier
|
||||
requestId={requestId}
|
||||
></SetRegisterPasswordForm>
|
||||
)}
|
||||
|
@@ -31,7 +31,7 @@ type Props = {
|
||||
email: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
organization?: string;
|
||||
organization: string;
|
||||
requestId?: string;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user