fix webauthn flow, state

This commit is contained in:
peintnermax
2023-08-22 13:15:33 +02:00
parent ead206a188
commit 2845ad246c
12 changed files with 60 additions and 43 deletions

View File

@@ -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,
}),
});