mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 13:35:07 +00:00
fix skip passwordless prompt, register with authrequest, passkey
This commit is contained in:
@@ -23,9 +23,15 @@ type Inputs =
|
||||
|
||||
type Props = {
|
||||
legal: LegalAndSupportSettings;
|
||||
organization?: string;
|
||||
authRequestId?: string;
|
||||
};
|
||||
|
||||
export default function RegisterFormWithoutPassword({ legal }: Props) {
|
||||
export default function RegisterFormWithoutPassword({
|
||||
legal,
|
||||
organization,
|
||||
authRequestId,
|
||||
}: Props) {
|
||||
const { register, handleSubmit, formState } = useForm<Inputs>({
|
||||
mode: "onBlur",
|
||||
});
|
||||
@@ -66,7 +72,8 @@ export default function RegisterFormWithoutPassword({ legal }: Props) {
|
||||
},
|
||||
body: JSON.stringify({
|
||||
loginName: loginName,
|
||||
// authRequestId, register does not need an oidc callback at the end
|
||||
organization: organization,
|
||||
authRequestId: authRequestId,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user