mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 19:32:15 +00:00
fix webauthn flow, state
This commit is contained in:
@@ -14,12 +14,14 @@ type Inputs = {
|
||||
|
||||
type Props = {
|
||||
loginName?: string;
|
||||
authRequestId?: string;
|
||||
isAlternative?: boolean; // whether password was requested as alternative auth method
|
||||
promptPasswordless?: boolean;
|
||||
};
|
||||
|
||||
export default function PasswordForm({
|
||||
loginName,
|
||||
authRequestId,
|
||||
promptPasswordless,
|
||||
isAlternative,
|
||||
}: Props) {
|
||||
@@ -44,6 +46,7 @@ export default function PasswordForm({
|
||||
body: JSON.stringify({
|
||||
loginName,
|
||||
password: values.password,
|
||||
authRequestId,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user